Width Property (IViewport)

Width Property (IViewport) | Send Feedback
See Also Example

Gets or sets the width of the Viewport.

# Syntax

Visual Basic |
--- | ---
    Property Width As System.Double

C# |
--- | ---
    System.double Width {get; set;}

JavaScript |
--- | ---
    get_Width () : Number
    put_Width (
       NewVal : Number
    )

COM native C++ |
--- | ---
    HRESULT get_Width(
       DOUBLE* Val
    )
    HRESULT put_Width(
       DOUBLE NewVal

C++ |
--- | ---
    DSRESULT get_Width (
       double* Val
    )
    DSRESULT put_Width(
       double NewVal
    )

#### Property Value

Width of the Viewport

# Example

Create Rectangular Viewport (C#)
Create Rectangular Viewport (VB.NET)
Create Rectangular Viewport (VBA)
Create Rectangular Viewport (JavaScript)

# See Also

####

IViewport Interface
IViewport Members
IViewport::Height Property

# Availability

DraftSight V1R3.0