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


IDynamicSymbolProperties2.SetTextBoxMargins Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IDynamicSymbolProperties2.SetTextBoxMargins Method

Indicates the text box margins for the dynamic text symbol.

[Visual Basic .NET]
Public Sub SetTextBoxMargins ( _
    ByVal Left As Single, _
    ByVal Top As Single, _
    ByVal Right As Single, _
    ByVal Bottom As Single _
)
[C#]
public void SetTextBoxMargins (
    float Left,
    float Top,
    float Right,
    float Bottom
);
[C++]
HRESULT SetTextBoxMargins(
  float Left,
  float Top,
  float Right,
  float Bottom
);
[C++]

Parameters Left [in] Left is a parameter of type float Top [in] Top is a parameter of type float Right [in] Right is a parameter of type float Bottom [in] 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