|
|
|
SftMask.AutoSize Property |
Defines whether the control's height is automatically adjusted.
Syntax
VB.NET |
Boolean = object.AutoSize As Boolean |
||
VB |
Boolean = object.AutoSize As Boolean |
||
C#.NET |
bool Boolean = object.AutoSize; |
||
VC++ |
VARIANT_BOOL Boolean = object->AutoSize;
|
||
C |
HRESULT object->get_AutoSize(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.AutoSize : WordBool; |
||
VB.NET |
object.AutoSize = Boolean As Boolean |
||
VB |
object.AutoSize = Boolean As Boolean |
||
C#.NET |
bool object.AutoSize = Boolean; |
||
VC++ |
VARIANT_BOOL object->AutoSize = Boolean;
|
||
C |
HRESULT object->put_AutoSize(VARIANT_BOOL Boolean); |
||
Delphi |
object.AutoSize := Boolean : WordBool; |
object
A SftMask object.
Boolean
Defines whether the control's height is automatically adjusted.
Boolean |
Description |
True |
The control is automatically resized to its optimal height. |
False |
The control is not automatically resized. |
Comments
The AutoSize property defines whether the control's height is automatically adjusted.
The AutoSize property can be used to automatically adjust the height of the control, based on its properties, such as the Font property. This can be used to prevent clipping of the displayed contents (vertically).
The presence of a built-in caption further determines how the control is resized (see Built-In Caption).