Skip to main content

PrintAppearanceObject.TextHorizontalAlignment Property

Specifies the horizontal alignment of the appearance object’s text.

Namespace: DevExpress.PivotGrid.Printing

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public virtual HorzAlignment TextHorizontalAlignment { get; set; }

Property Value

Type Description
HorzAlignment

A HorzAlignment enumeration value, specifying the horizontal alignment of the text.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

Remarks

The horizontal alignment of an AppearanceObject‘s text is specified by the PrintTextOptions.HAlignment property. Text options can be accessed using the PrintAppearanceObject.TextOptions property.

See Also