hwISession SetCurrentPaperOrientation

Sets the current paper orientation.

Syntax

hwISession_handle SetCurrentPaperOrientation orient

Application

Tcl Modify

Description

This command sets what the current paper orientation is.

Inputs

orient
The paper orientation. The two orientation options are portrait and landscape.

Example

hwi GetSessionHandle sess;
sess SetCurrentPaperOrientation portrait;

Error

Returns success (0) or an error code.

Keywords

Tcl

Print

Modify