This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicSymbolProperties2 Interface > IDynamicSymbolProperties2.SetTextBoxMargins Method (ArcObjects .NET 10.4 SDK) |
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
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.