ProScript .NET Documentation
ProScript .NET Documentation
ProScript
Display Class
Display Methods
AdjustAspect Method
GetCaptionLength Method
GetColorDepth Method
GetHeight Method
GetRegionCount Method
GetTextHeight Method
GetTextWidth Method
GetWidth Method
ToString Method

# Display GetWidth Method

Gets either the width in pixels of the screen (if equipped) or an abstract number representing the horizontal component of the aspect ratio of the device digitizer (if no screen).

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public int GetWidth()

    Public Function GetWidth As Integer

    public:
    int GetWidth()

    member GetWidth : unit -> int

#### Return Value

Type: Int32
Width of the display in pixels.
See Also

#### Reference

Display Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.