SftMask/OCX 6.5

SftMask.AutoSize Property

Softel vdm, Inc.

Defines whether the control's height is automatically adjusted.

Syntax       

Get

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;
VARIANT_BOOL Boolean = object->GetAutoSize();

C

HRESULT object->get_AutoSize(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.AutoSize   : WordBool;

Put

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;
void object->PutAutoSize(VARIANT_BOOL 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).


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com