다음을 통해 공유


CustomControl.Height Property (Access)

Gets or sets the height of the specified object in twips. Read/write Integer.

Syntax

.Height

A variable that represents a CustomControl object.

Remarks

For report controls, you can set the Height property when you print or preview a report only by using a macro or an event procedure specified in a section's OnFormat event property setting.

Microsoft Access automatically sets the Height property when you create or size a control or when you size a window in form Design View or report Design view.

The height of controls is measured from the center of their borders so controls with different border widths align correctly.

참고 항목

개념

CustomControl Object

CustomControl Object Members