Admin Production ni-theme
Current Publication

ATTR_ORIENTATION

LabWindows/CVI

ATTR_ORIENTATION

Type: Print attribute
Description: Specifies whether to print in portrait or landscape mode.

If you specify VAL_USE_PRINTER_SETTING, the next call to a User Interface Library printing function uses the system's current setting for the selected printer. After the printing function returns, the value of the attribute is no longer VAL_USE_PRINTER_SETTING. Instead, the library stores the system's setting as the attribute value. If you want to update the attribute value based on the current system setting each time you print, set the attribute to VAL_USE_PRINTER_SETTING before each call to a printing function.
Types of Printing: Text and graphics.
Data Type: integer
Default Value: VAL_LANDSCAPE
LabWindows/CVI
Compatibility:
LabWindows/CVI 3.0 and later

Values

VAL_PORTRAIT Set orientation to portrait mode. (The vertical dimension is longer than the horizontal).
VAL_LANDSCAPE Set orientation to landscape mode. (The horizontal dimension is longer than the vertical).
VAL_USE_PRINTER_SETTING (Windows platforms only). Use the system's current setting for the selected printer. The next printing operation uses the current system setting and stores it as the attribute value. If you want to update the attribute from the current system setting each time you print, set the attribute to VAL_USE_PRINTER_SETTING before each call to a printing function.