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


IDynamicSymbolProperties2.GetTextBoxMargins Method (ArcObjects .NET 10.6 SDK)
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(
  System.Single* Left,
  System.Single* Top,
  System.Single* Right,
  System.Single* Bottom
);
[C++]

Parameters Left [in, out]
Left is a parameter of type single* Top [in, out]
Top is a parameter of type single* Right [in, out]
Right is a parameter of type single* Bottom [in, out]
Bottom is a parameter of type single*

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