hwISession GetCurrentPaperSize

Finds the current paper size.

Syntax

hwISession_handle GetCurrentPaperSize

Application

HyperWorks Tcl Query

Description

This command finds the current paper size. Returns Letter, Legal or A4. If you forget the paper size options, call the GetPaperSizeList command to list them again.

Example

hwi GetSessionHandle sess;
sess GetCurrentPaperSize;

Error

Returns success (the size) or an error code.

Keywords

HyperWorks

Tcl

Print

Query