Page.Print

Page.Print ( 

boolean ShowPrintDialog = true,

boolean ScaleToFit = true )

Description

Prints the current page.

Note: Some types of objects have troubles printing with certain printer drivers. The Video object will not display when printed.

Parameters

ShowPrintDialog

(boolean) Whether to show the common print dialog before printing.

VALUE

DESCRIPTION

true

Show the common print dialog before printing. (Default)

false

Use defaults such as default printer, letter sized paper and choose the best between portrait and landscape.

ScaleToFit

(boolean) Whether to scale the page to fill as much of the printed page as possible while preserving the aspect ratio of the page.

VALUE

DESCRIPTION

true

Scale the page to fill the printed page. (Default)

false

Print the page at a 1:1 ratio.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions