ViewportWidth property
Returns the width, in pixels, of the client region inside the window that is available for non-docked displays. Read-only. Long.
If displays are docked on either side of the window, the width of the area available for non-docked displays is reduced.
Syntax
Application
.ViewportWidth
where
Application
– is the name of a FactoryTalk View SE
Client Application object or an expression that evaluates to a FactoryTalk View SE
Client Application object.Remarks
- Use this property to arrange displays within the main FactoryTalk View SE Client window.
- When the window is minimized, the value returned will be 0.
- When a display is maximized, its Width and Height are greater than its ViewportWidth and ViewportHeight because Windows automatically increases the width and height of the window to hide its borders.
- If the region includes a vertical scroll bar, the returned value does not include the width of the scroll bar.
Provide Feedback