PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / UnitPoint Structure / Parse Method
The string to convert.
OUT: The UnitPoint structure representing s.
Indicates whether an exception should be thrown if the conversion cannot be performed (if an error occurs, and this value is false, result is set to UnitPoint.Empty).

In This Topic
    Parse Method (UnitPoint)
    In This Topic
    Converts a string to a UnitPoint structure.
    Syntax
    'Declaration
     
    Public Shared Function Parse( _
       ByVal s As String, _
       ByRef result As UnitPoint, _
       ByVal throwException As Boolean _
    ) As Boolean
    public static bool Parse( 
       string s,
       out UnitPoint result,
       bool throwException
    )

    Parameters

    s
    The string to convert.
    result
    OUT: The UnitPoint structure representing s.
    throwException
    Indicates whether an exception should be thrown if the conversion cannot be performed (if an error occurs, and this value is false, result is set to UnitPoint.Empty).

    Return Value

    true if no error occurred, false otherwise.
    See Also