OverviewExamples
Grid.Print ( |
boolean ShadedPrintOut = true, table MarginInfo = nil ) |
Prints the contents of the grid object.
(string) The name of the grid object.
(boolean) Whether to print in WYSIWYG mode or size-to-width mode. This is an optional argument and if omitted will default to false.
VALUE |
DESCRIPTION |
true |
Print in WYSIWYG mode. |
false |
Print in size-to-width mode. (Default) |
(boolean) Whether or not to print with shaded cells. This is an optional argument and if omitted will default to true.
VALUE |
DESCRIPTION |
true |
Print with shaded cells. (Default) |
false |
Do not print with shaded cells. |
(table) A table of margin information for the print. Pass nil to use the default margin settings. This is an optional argument and if omitted will default to nil. All values are optional. If omitted, the default will be used. All values are numbers and are in character units. That is the average size of a character in the Grid object.
KEY |
TYPE |
DESCRIPTION |
HeaderHeight |
number |
The size of the header. |
FooterHeight |
number |
The size of the footer. |
LeftMargin |
number |
The left margin. |
RightMargin |
number |
The right margin. |
TopMargin |
number |
The top margin. |
BottomMargin |
number |
The bottom margin. |
Gap |
number |
The gap between the header and column headings. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions