PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / PointD Structure / Parse Method
The string to convert.
OUT: the created PointD structure.
Indicates whether an exception should be thrown if the string cannot be converted.

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

    Parameters

    s
    The string to convert.
    result
    OUT: the created PointD structure.
    throwException
    Indicates whether an exception should be thrown if the string cannot be converted.

    Return Value

    true if no error occurred, false otherwise (if throwException is false).
    See Also