|
|
|
SftButton.OptimalHeight Property |
Returns the control's optimal height.
Syntax
VB.NET |
Height = object.OptimalHeight As Integer |
||
VB |
Height = object.OptimalHeight As Integer |
||
C#.NET |
int Height = object.OptimalHeight; |
||
VC++ |
int Height = object->OptimalHeight;
|
||
C |
HRESULT object->get_OptimalHeight(int* Height); |
||
Delphi |
Height := object.OptimalHeight : Integer; |
object
A SftButton object.
Height
Returns the control's optimal height in pixels.
Comments
The OptimalHeight property returns the control's optimal height.
The optimal height returned allows all text and picture components to be displayed without being clipped.
The OptimalWidth property returns the control's optimal width.
The AutoSize property can be used to automatically resize the control based on its contents.