PageSetupOptions object

The PageSetupOptions object stores the settings that Abaqus uses when printing using a Windows printer. The PageSetupOptions object has no constructor. Abaqus creates the pageSetupOptions member when a session is started.

This page discusses:

Access

session.pageSetupOptions

setValues(...)

This method modifies the PageSetupOptions object.

Required arguments

None.

Optional arguments

imageSize

A SymbolicConstant or a pair of Floats specifying the size of the printed image in the currently selected units (inches or millimeters). Possible values are FIT_TO_PAGE and SIZE_ON_SCREEN. The default value is FIT_TO_PAGE.

Note:

The minimum value of width and height (minWidth and minHeight) is 10 mm (approximately 0.4 inches).

units

A SymbolicConstant specifying the units to use for the margins and image size. Possible values are INCHES and MM. The default value is INCHES.

quality

A SymbolicConstant specifying the quality of the image. Possible values are COARSE, MEDIUM, and FINE. The default value is MEDIUM.

topMargin

A Float specifying the top margin of the paper in the currently selected units (inches or millimeters). Possible values are topMargin   0. The default value is 0.5.

bottomMargin

A Float specifying the bottom margin of the paper in the currently selected units (inches or millimeters). Possible values are bottomMargin   0. The default value is 0.5.

leftMargin

A Float specifying the left margin of the paper in the currently selected units (inches or millimeters). Possible values are leftMargin   0. The default value is 0.5.

rightMargin

A Float specifying the right margin of the paper in the currently selected units (inches or millimeters). Possible values are rightMargin   0. The default value is 0.5.

orientation

A SymbolicConstant specifying the orientation of the image. Possible values are PORTRAIT and LANDSCAPE. The default value is PORTRAIT.

logo

A Boolean specifying whether the output includes the Abaqus logo. The default value is ON.

date

A Boolean specifying whether the output includes the date. The default value is ON.

Return value

None.

Exceptions

RangeError.

Note:

The minimum value of width and height (minWidth and minHeight) is 10 mm (approximately 0.4 inches).

If leftMargin + rightMargin is out of range:

RangeError: leftMargin and rightMargin must produce image width >= minWidth

If topMargin + bottomMargin is out of range:

RangeError: topMargin and bottomMargin must produce image height >= minHeight

Members

The PageSetupOptions object has members with the same names and descriptions as the arguments to the setValues method.