GoDiagram Win Reference
SizeFFromString Method

the string to parse
the default value to return if the string is null or there is a syntax or range error
Parse a string value as a SizeF.
Syntax
'Declaration
 
Public Function SizeFFromString( _
   ByVal str As String, _
   ByVal def As SizeF _
) As SizeF
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).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoXmlTransformer Class
GoXmlTransformer Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback