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

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

    Parameters

    s
    The string to convert.
    result
    OUT: the created RectangleD 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