ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.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 Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single, _
       ByVal minDepth As Single, _
       ByVal maxDepth As Single _
    )
    public ViewportF( 
       float x,
       float y,
       float width,
       float height,
       float minDepth,
       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