Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / ViewportF Structure / ViewportF Constructor / ViewportF Constructor(Single,Single,Single,Single)
The x coordinate of the upper-left corner of the viewport in pixels.
The y coordinate of the upper-left corner of the viewport in pixels.
The width of the viewport in pixels.
The height of the viewport in pixels.

In This Topic
    ViewportF Constructor(Single,Single,Single,Single)
    In This Topic
    Initializes a new instance of the ViewportF struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As System.Single, _
       ByVal y As System.Single, _
       ByVal width As System.Single, _
       ByVal height As System.Single _
    )
    public ViewportF( 
       System.float x,
       System.float y,
       System.float width,
       System.float height
    )

    Parameters

    x
    The x coordinate of the upper-left corner of the viewport in pixels.
    y
    The y coordinate of the upper-left corner of the viewport in pixels.
    width
    The width of the viewport in pixels.
    height
    The height of the viewport in pixels.
    See Also