GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / SizeFFromString Method
the string to parse
the default value to return if the string is null or there is a syntax or range error
In This Topic
    SizeFFromString Method
    In This Topic
    Parse a string value as a SizeF.
    Syntax
    public SizeF SizeFFromString( 
       string str,
       SizeF def
    )

    Parameters

    str
    the string to parse
    def
    the default value to return if the string is null or there is a syntax or range error

    Return Value

    A SizeF parsed from the string str; if there is a parsing exception, this method returns the value of def.
    Remarks
    You can convert a value to a string by calling WriteAttrVal(String,SizeF) and passing null as the first argument (the attribute name).
    See Also