Hide

SftButton/OCX 3.0 - Button Control

Display
Print

OptimalHeight Property, SftButton Object

Returns the control's optimal height.

Syntax

Get

VB.NETHeight = object.OptimalHeight As Integer
VBHeight = object.OptimalHeight As Integer
C#.NETint Height = object.OptimalHeight;
VC++int Height = object->OptimalHeight;
int Height = object->GetOptimalHeight();
CHRESULT object->get_OptimalHeight(int* Height);

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.

See Also SftButton Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.