Spread WPF 18
GrapeCity.Drawing Namespace / Size Structure / Size Constructor
The width component of the new Size.
The height component of the new Size.


In This Topic
    Size Constructor
    In This Topic
    Initializes a new instance of the Size class with the specified dimensions.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal width As Double, _
       ByVal height As Double _
    )
    'Usage
     
    Dim width As Double
    Dim height As Double
     
    Dim instance As New Size(width, height)
    public Size( 
       double width,
       double height
    )

    Parameters

    width
    The width component of the new Size.
    height
    The height component of the new Size.
    See Also