Export (0) Print
Expand All
A
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

AutoSize Property

See Also    Example    Applies To

Returns or sets a value that determines whether a control is automatically resized to display its entire contents.

Syntax

object.AutoSize [= boolean]

The AutoSize property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Boolean A Boolean expression that specifies whether the control is resized, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True Automatically resizes the control to display its entire contents.
False (Default) Keeps the size of the control constant. Contents are clipped when they exceed the area of the control.

Show:
© 2015 Microsoft