ArcObjects Library Reference (Display)  

IDynamicSymbolProperties2.GetTextBoxMargins Method

Indicates the text box margins for the dynamic text symbol.

[Visual Basic .NET]
Public Sub GetTextBoxMargins ( _
    ByRef Left As Single&, _
    ByRef Top As Single&, _
    ByRef Right As Single&, _
    ByRef Bottom As Single& _
)
[C#]
public void GetTextBoxMargins (
    ref Single& Left,
    ref Single& Top,
    ref Single& Right,
    ref Single& Bottom
);
[C++]
HRESULT GetTextBoxMargins(
  float* Left,
  float* Top,
  float* Right,
  float* Bottom
);
[C++]

Parameters

Left [in, out]   Left is a parameter of type float Top [in, out]   Top is a parameter of type float Right [in, out]   Right is a parameter of type float Bottom [in, out]   Bottom is a parameter of type float

Product Availability

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

Remarks

The Text Box Margins values, indicates a margin around the text in all four directions.

This also affects the anchor point of the text, along with the TextHorizontalAlignment and TextVerticalAlignment properties.

See Also

IDynamicSymbolProperties2 Interface