Bagikan melalui


DataLabel.HorizontalAlignment Property (Word)

Returns or sets the horizontal alignment for the specified object. Read/write Variant.

Version Information

Version Added: Word 2007

Syntax

expression .HorizontalAlignment

expression A variable that represents a DataLabel object.

Remarks

You can set the value of this property to one of the following XlConstants constants:

  • xlCenter

  • xlDistributed

  • xlJustify

  • xlLeft

  • xlRight

Some of these constants may not be available to you, depending on the language support (for example, U.S. English) that you have selected ohttp:r installed.

See Also

Concepts

DataLabel Object

DataLabel Object Members