Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / ViewportF Structure / ViewportF Constructor / ViewportF Constructor(Single,Single,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.
The minimum depth of the clip volume.
The maximum depth of the clip volume.

In This Topic
    ViewportF Constructor(Single,Single,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, _
       ByVal minDepth As System.Single, _
       ByVal maxDepth As System.Single _
    )
    public ViewportF( 
       System.float x,
       System.float y,
       System.float width,
       System.float height,
       System.float minDepth,
       System.float maxDepth
    )

    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.
    minDepth
    The minimum depth of the clip volume.
    maxDepth
    The maximum depth of the clip volume.
    See Also