Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1Size Structure / C1Size Constructor
The initial width of the instance of C1Size.
The initial height of the instance of C1Size.


In This Topic
    C1Size Constructor
    In This Topic
    Initializes a new instance of the C1Size structure and assigns it an initial width and height.
    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 C1Size(width, height)
    public C1Size( 
       double width,
       double height
    )

    Parameters

    width
    The initial width of the instance of C1Size.
    height
    The initial height of the instance of C1Size.
    See Also