Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / RectangleF Structure / RectangleF Constructor
The left coordinate associated with the RectangleF's top left corner.
The top coordinate associated with the RectangleF's top left corner.
The RectangleF's Width.
The RectangleF's Height.


In This Topic
    RectangleF Constructor
    In This Topic
    Creates a new RectangleF by determining its WidthHeight, along with the location of its top left corner.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    )
    'Usage
     
    Dim x As Single
    Dim y As Single
    Dim width As Single
    Dim height As Single
     
    Dim instance As New RectangleF(x, y, width, height)
    public RectangleF( 
       float x,
       float y,
       float width,
       float height
    )

    Parameters

    x
    The left coordinate associated with the RectangleF's top left corner.
    y
    The top coordinate associated with the RectangleF's top left corner.
    width
    The RectangleF's Width.
    height
    The RectangleF's Height.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also