ArcObjects Library Reference (Display)  

IGraphicAttributeTypeUsingUnits.FormatForDisplay Method

Formats a graphic attribute value according to a given unit before displaying it.

[Visual Basic .NET]
Public Sub FormatForDisplay ( _
    ByVal Units As esriUnits, _
    ByRef val As Object _
)
[C#]
public void FormatForDisplay (
    esriUnits Units,
    ref object val
);
[C++]
HRESULT FormatForDisplay(
  esriUnits Units,
  VARIANT* val
);
[C++]

Parameters

Units [in]

  Units is a parameter of type esriUnits

val [in, out]   val is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicAttributeTypeUsingUnits Interface