This document is archived and information here might be outdated.  Recommended version.


IGraphicAttributeTypeUsingUnits.FormatForDisplay Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IG > IGraphicAttributeTypeUsingUnits Interface > IGraphicAttributeTypeUsingUnits.FormatForDisplay Method
ArcGIS Developer Help

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