Printing:Margins Property

Short Name: Printing.Margins

Requires: Base Development System

Class: VI Properties

To Use: Create a property.

Gets or sets the page margins to use when printing the VI in inches or centimeters.

This property is similar to the Use custom page margins checkbox on the Print Options page of the VI Properties dialog box and the Custom margins option on the Page Setup page of the Print dialog box.

Elements

Name Description
Top The margin to use for the top of the page in inches or centimeters.
Left The margin to use for the left side of the page in inches or centimeters.
Bottom The margin to use for the bottom of the page in inches or centimeters.
Right The margin to use for the right side of the page in inches or centimeters.
Measurement System The units of measure to use for the Top, Left, Bottom, and Right values.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsYes
Available with polymorphic VIsNo