DisplayAreaHeight property

Returns the height of the region in which Element objects can be placed on a display. This is the same as the height that is specified in the Display Settings dialog box. Read-only. Long.
This value does not change when the display window is resized.
Syntax
Display
.
DisplayAreaHeight
where
Display
– is the name of a Display object or an expression that evaluates to a Display object.
Remarks
  • When the display is configured to Pan, this value is always in pixels. If the display window height is decreased, scroll bars appear and some of the display area is hidden.
  • When the display is configured to Scale, this value is only in pixels if the display has not been resized, (that is, VerticalScaleFactor = 1). If the display is resized the value no longer corresponds to pixels on the display. In this case you must multiply the Height property by the VerticalScaleFactor to get the pixel height of the display region.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal