Table of contents
TOC
Collapse the table of content
Expand the table of content

Label.BottomMargin Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Along with the LeftMargin, RightMargin, and TopMargin properties, specifies the location of information displayed within a label control. Read/write Integer.

Syntax

expression. BottomMargin

expression A variable that represents a Label object.

Remarks

A control's displayed information location is the distance measured from the control's left, top, right, or bottom border to the left, top, right, or bottom edge of the displayed information. To use a unit of measurement different from the setting in the regional settings of Windows, specify the unit (for example, cm or in).

In Visual Basic, use a numeric expression to set the value of this property. Values are expressed in twips.

Example

The following example offsets the caption in the label "EmployeeID_Label" of the "Purchase Orders" form by 100 twips from the bottom of the label's border.

With Forms.Item("Purchase Orders").Controls.Item("EmployeeID_Label") 
 .BottomMargin = 100 
End With

See also

Concepts

Label Object

© 2018 Microsoft