SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Returns the control's optimal height.
Get
| VB.NET | Height = object.OptimalHeight As Integer |
| VB | Height = object.OptimalHeight As Integer |
| C#.NET | int Height = object.OptimalHeight; |
| VC++ | int Height = object->OptimalHeight; int Height = object->GetOptimalHeight(); |
| C | HRESULT object->get_OptimalHeight(int* Height); |
object
Height
Returns the control's optimal height in pixels.
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.
See Also SftButton Object | Object Hierarchy
