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)
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 Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    )
    public ViewportF( 
       float x,
       float y,
       float width,
       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