This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicCompoundMarker2 Interface > IDynamicCompoundMarker2.SetMarkerToTextOffset2 Method (ArcObjects .NET 10.4 SDK) |
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 float markerToBottom [in] markerToBottom is a parameter of type float markerToLeft [in] markerToLeft is a parameter of type float markerToRight [in] markerToRight is a parameter of type float
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.