Documents for PDF .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Common Namespace / Unit Structure / TryParse Method / TryParse(String,Unit) Method
The string to parse.
OUT: Unit structure.

In This Topic
    TryParse(String,Unit) Method
    In This Topic
    Parses a string and creates Unit structure.
    Syntax
    'Declaration
     
    Public Overloads Shared Function TryParse( _
       ByVal s As System.String, _
       ByRef unit As Unit _
    ) As System.Boolean
    public static System.bool TryParse( 
       System.string s,
       out Unit unit
    )

    Parameters

    s
    The string to parse.
    unit
    OUT: Unit structure.

    Return Value

    True if the conversion was successfull, false otherwise.
    See Also