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


IDynamicSymbolProperties2.TextBoxHorizontalAlignment Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDynamicSymbolProperties2.TextBoxHorizontalAlignment Property

Indicates the text box horizontal alignment for the dynamic text symbol.

[Visual Basic .NET]
Public Property TextBoxHorizontalAlignment As esriTextHorizontalAlignment
[C#]
public esriTextHorizontalAlignment TextBoxHorizontalAlignment {get; set;}
[C++]
HRESULT get_TextBoxHorizontalAlignment(
  esriTextHorizontalAlignment* TextBoxHorizontalAlignment
);
[C++]
HRESULT put_TextBoxHorizontalAlignment(
  esriTextHorizontalAlignment TextBoxHorizontalAlignment
);
[C++]

Parameters TextBoxHorizontalAlignment [out, retval]
TextBoxHorizontalAlignment is a parameter of type esriTextHorizontalAlignment TextBoxHorizontalAlignment [in]
TextBoxHorizontalAlignment is a parameter of type esriTextHorizontalAlignment

Product Availability

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

Remarks

This property controls the Horizontal Alignment of the text inside the text box, while supporting multi lines text (using carriage return on each line end).

See Also

IDynamicSymbolProperties2 Interface

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd)