SftMask/OCX 6.5

SftMaskCaption.Width Property

Softel vdm, Inc.

Defines the caption width (overrides SizePercent).

Syntax       

Get

VB.NET

W = object.Width  As Single

VB

W = object.Width  As Single

C#.NET

float W = object.Width;

VC++

float W = object->Width;
float W = object->GetWidth();

C

HRESULT object->get_Width(float* W);

Delphi

W := object.Width   : Single;

Put

VB.NET

object.Width = W  As Single

VB

object.Width = W  As Single

C#.NET

float object.Width = W;

VC++

float object->Width = W;
void object->PutWidth(float W);

C

HRESULT object->put_Width(float W);

Delphi

object.Width := W   : Single;

object

A SftMaskCaption object.

W

Defines the caption width (overrides SizePercent).. The units used depend on the container used (e.g., Visual Basic uses TWIPS by default, Visual C++ uses pixels).

Comments

The Width property defines the caption width (overrides SizePercent).

The SizePercent property defines the caption's relative width (left/right position).

The caption area position and size are defined using a combination of the Caption.SizePercent or Caption.Width, Caption.Position and AutoSize properties. For a detailed description of the various combinations, please see the chapter Built-In Caption.


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