ComponentOne Bitmap for UWP
ViewportF Constructor(Single,Single,Single,Single)

C1.UWP.DX 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.
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

Reference

ViewportF Structure
ViewportF Members
Overload List