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


IDynamicCompoundMarker2.SetMarkerToTextOffset2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicCompoundMarker2 Interface > IDynamicCompoundMarker2.SetMarkerToTextOffset2 Method
ArcGIS Developer Help

IDynamicCompoundMarker2.SetMarkerToTextOffset2 Method

Indicates the offset of the text from the marker on each direction.

[Visual Basic .NET]
Public Sub SetMarkerToTextOffset2 ( _
    ByVal markerToTop As Single, _
    ByVal markerToBottom As Single, _
    ByVal markerToLeft As Single, _
    ByVal markerToRight As Single _
)
[C#]
public void SetMarkerToTextOffset2 (
    float markerToTop,
    float markerToBottom,
    float markerToLeft,
    float markerToRight
);
[C++]
HRESULT SetMarkerToTextOffset2(
  float markerToTop,
  float markerToBottom,
  float markerToLeft,
  float markerToRight
);
[C++]
Parameters
markerToTop [in]

markerToTop is a parameter of type single markerToBottom [in]
markerToBottom is a parameter of type single markerToLeft [in]
markerToLeft is a parameter of type single markerToRight [in]
markerToRight is a parameter of type single

Product Availability

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

Remarks

Offset is the distance between the marker and the text labels, in each of the four directions � top, bottom, left, right.
Each text label gets an offset according to its region: top, bottom, left, right. The center text labels remain without an offset.

See Also

IDynamicCompoundMarker2 Interface