Export (0) Print
Expand All
Expand Minimize

Attachment.LabelAlign Property (Access)

The LabelAlign property specifies the text alignment within attached labels on new controls. Read/write Byte.

Version Added: Access 2007

expression .LabelAlign

expression A variable that represents an Attachment object.

The LabelAlign property uses the following settings.

Setting

Description

0

(Default) The label text aligns to the left.

1

The label text aligns to the left.

2

The label text is centered.

3

The label text aligns to the right.

4

The label text is evenly distributed.

You can set the LabelAlign property by using a control's default control style or the DefaultControl property in Visual Basic.

When created, controls have an attached label (as long as their AutoLabel property is set to Yes). Changes to the LabelAlign default control style setting affect only controls created on the current form or report.

Show:
© 2014 Microsoft