Click or drag to resize
GridControlOnPrintPreview Method (Boolean)
Raises the PrintPreview event.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool OnPrintPreview(
	bool landscape
)

Parameters

landscape
Type: SystemBoolean
true previews the print in landscape mode. false previews the print in portrait orientation.

Return Value

Type: Boolean
true on success.
Remarks
Invoke this method to create a print preview of a GridControl. This form of the method allows the user to specify whether or not to preview the print in landscape mode.
See Also