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


ITextSymbol.HorizontalAlignment Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IT > ITextSymbol Interface > ITextSymbol.HorizontalAlignment Property
ArcGIS Developer Help

ITextSymbol.HorizontalAlignment Property

Horizontal alignment style.

[Visual Basic .NET]
Public Property HorizontalAlignment As esriTextHorizontalAlignment
[C#]
public esriTextHorizontalAlignment HorizontalAlignment {get; set;}
[C++]
HRESULT get_HorizontalAlignment(
  esriTextHorizontalAlignment* horizAlignment
);
[C++]
HRESULT put_HorizontalAlignment(
  esriTextHorizontalAlignment horizAlignment
);
[C++]
Parameters
horizAlignment [out, retval]

horizAlignment is a parameter of type esriTextHorizontalAlignment* horizAlignment [in]
horizAlignment is a parameter of type esriTextHorizontalAlignment

Product Availability

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

Description

HorizontalAlignment is the horizontal alignment that will be applied to text that contains multiple lines. There are four options: esriTHACenter , esriTHAFull , esriTHALeft , and esriTHARight . The default option is esriTHALeft .

See Also

ITextSymbol Interface

.NET Samples

Creating a toolbar of globe tools Play back tracking data