
Initializes a new instance of the AutoSize class. The constructor offers the individual setting of all features.
[C#]
public AutoSize(AutoSizeDirection expand, AutoSizeDirection shrink, Size maxSize, Size minSize);
[Visual Basic]
Public Sub New(ByVal expand As AutoSizeDirection, ByVal shrink As AutoSizeDirection, ByVal maxSize As Size, ByVal minSize As Size)
| Parameter | Description | |
| expand | Specifies possible directions for expanding the control. See AutoSize.AutoExpand for possible values. | |
| shrink | Specifies possible directions for shrinking the control. See AutoSize.AutoShrink for possible values. | |
| maxSize | Specifies the maximum size, in twips, for expanding the control. | |
| minSize | Specifies the minimum size, in twips, for shrinking the control. |