ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / Explicit Type Conversion Operator
A Length value to convert.
Example

In This Topic
    Explicit Type Conversion Operator (Length)
    In This Topic
    Converts a Length instance to its string representation.
    Syntax
    'Declaration
     
    Public Operator Narrowing CType( _
       ByVal unit As Length _
    ) As String
    public string operator explicit( 
       Length unit
    )

    Parameters

    unit
    A Length value to convert.

    Return Value

    A System.String value indicating the Length.
    Example
    var length = new Length("1in");
    string lengthString = (string)length; // "1in"
    See Also