| GridControlOnPrintPreview Method (Boolean) |
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool OnPrintPreview(
bool landscape
)
Public Overridable Function OnPrintPreview (
landscape As Boolean
) As Boolean
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:
Booleantrue 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