This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IG > IGraphicAttributeTypeUsingUnits Interface > IGraphicAttributeTypeUsingUnits.FormatForDisplay Method (ArcObjects .NET 10.4 SDK) |
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