ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / ReportSize Class / Implicit Type Conversion Operator / Implicit Type Conversion(ReportSize,Unit) Operator
The C1.C1Preview.Unit to convert.

In This Topic
    Implicit Type Conversion(ReportSize,Unit) Operator
    In This Topic
    Converts a C1.C1Preview.Unit to a ReportSize. Note that the unit to be converted must be absolute and must not be expressed in pixels, or an exception will be thrown.
    Syntax
    'Declaration
     
    Overloads Public Operator Widening CType( _
       ByVal value As Unit _
    ) As ReportSize
    public ReportSize operator implicit( 
       Unit value
    )

    Parameters

    value
    The C1.C1Preview.Unit to convert.

    Return Value

    The ReportSize representing value.
    See Also