PrintOut Method

Prints the contents of the MstGrid.

Syntax

Public Sub PrintOut(Optional ByVal PageFrom As Integer = 0, Optional ByVal PageTo As Integer = 0, Optional ByVal Copies As Short = 1, Optional ByVal Collate As Boolean = False)

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
PageFrom The number of the page at which to start printing. If this argument is omitted, printing starts at the beginning.
PageTo The number of the last page to print. If this argument is omitted, printing ends with the last page.
Copies The number of copies to print. If this argument is omitted, one copy is printed.

Return Type

None

See Also

PrintPreview Method, ShowPageSetupDialog Method, PageSetup Object