Click or drag to resize

ReportQueue.SetPrinterOrientation Method

X#
Set the printer orientation for the report.

Namespace:  VO
Assembly:  VOReportClasses (in VOReportClasses.dll) Version: 2.24 GA
Syntax
 VIRTUAL METHOD SetPrinterOrientation(
	bOrientation
) AS USUAL CLIPPER
Request Example View Source

Parameters

bOrientation (Optional)
Type: Usual
Binary value value indicating whether the printer orientation will be portrait (0) or landscape (1). If omitted, default is 0 (portrait).

Return Value

Type: Usual
Remarks
The paper orientation should be set before calling Print() or Preview().
Examples
X#
1oRQ:SetPrinterOrientation(1)    // Set orientation to landscape
See Also