Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / ReportSize Class / StringToReportSizeType Method
The string to convert.
OUT: On exit, contains the ReportSizeType value.

In This Topic
    StringToReportSizeType Method
    In This Topic
    Converts a string to a ReportSizeType value. The string can be one of the following: "in", "mm", "cm", "pt". This method is case-insensitive.
    Syntax
    'Declaration
     
    Public Shared Function StringToReportSizeType( _
       ByVal s As String, _
       ByRef units As ReportSizeType _
    ) As Boolean
    public static bool StringToReportSizeType( 
       string s,
       ref ReportSizeType units
    )

    Parameters

    s
    The string to convert.
    units
    OUT: On exit, contains the ReportSizeType value.

    Return Value

    true if no error occurred, false otherwise.
    See Also