Hide

SftButton/OCX 3.0 - Button Control

Display
Print

OptimalWidth Property, SftButton Object

Returns the control's optimal width.

Syntax

Get

VB.NETWidth = object.OptimalWidth As Integer
VBWidth = object.OptimalWidth As Integer
C#.NETint Width = object.OptimalWidth;
VC++int Width = object->OptimalWidth;
int Width = object->GetOptimalWidth();
CHRESULT object->get_OptimalWidth(int* Width);

object

A SftButton object.

Width

Returns the control's optimal width.

Comments

The OptimalWidth property returns the control's optimal width.

The optimal width returned allows all text and picture components to be displayed without being clipped.

The OptimalHeight property returns the control's optimal height.

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.