ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / ToInches Method
Example

In This Topic
    ToInches Method
    In This Topic
    Converts the Length value to inches (1in = 1440twips).
    Syntax
    'Declaration
     
    Public Function ToInches() As Single
    public float ToInches()

    Return Value

    A Length value in inches.
    Example
    var length = new Length("2.54cm");
    float inches = length.ToInches(); // 1
    See Also