GoDiagram Win Reference
Format(Double,GoDrawUnit) Method

a GoDrawUnit
Write a measurement as a string, including the units.
Syntax
'Declaration
 
Public Overloads Shared Function Format( _
   ByVal val As Double, _
   ByVal u As GoDrawUnit _
) As String
public static string Format( 
   double val,
   GoDrawUnit u
)

Parameters

val
u
a GoDrawUnit

Return Value

if u is GoDrawUnit.None, this method just converts the val to a string; otherwise this method appends the result of calling UnitAbbreviatedName
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

GoDrawUnits Class
GoDrawUnits Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback