Alignment Property

Specifies both the vertical and horizontal alignments for the attribute, attribute reference, or text.

See Also | Example

Signature

object.Alignment

object

Attribute, AttributeRef, Text
The object or objects this property applies to.

Alignment

acAlignment enum; read-write

acAlignmentLeft

acAlignmentCenter

acAlignmentRight

acAlignmentAligned

acAlignmentMiddle

acAlignmentFit

acAlignmentTopLeft

acAlignmentTopCenter

acAlignmentTopRight

acAlignmentMiddleLeft

acAlignmentMiddleCenter

acAlignmentMiddleRight

acAlignmentBottomLeft

acAlignmentBottomCenter

acAlignmentBottomRight

Remarks

Text aligned to acAlignmentLeft uses the InsertionPoint property to position the text.

Text aligned to acAlignmentAligned, or acAlignmentFit uses both the InsertionPoint and TextAlignmentPoint properties to position the text.

Text aligned to any other position uses the TextAlignmentPoint property to position the text.

 

   Comments?