12.3. AutoSize Property

Description

Returns or sets the value that defines how the control size is determined.

Syntax

object.AutoSize[= Boolean] 

Remarks

AutoSize controls how the object responds to the sizing request from the container. When AutoSize is FALSE, the object redraws itself to the maximum extent that the container specifies; otherwise it calculates the display size by multiplying its natural size with the ZoomRatio, and draws itself within the display size.

When AutoSize is changed from FALSE to TRUE, the ZoomRatio is changed back to 1.0.

See Also

Section 12.50, “ZoomRatio Property”

Section 12.2, “AutoLabelSize Property”