HeaderPane
Main
Hide
Share Link
Print

Width Property, SftMaskCaption Object

Defines the caption width (overrides SizePercent).

Syntax

Get

C#float W = object.Width;
VB.NETW = object.Width As Single
C++float W = object->Width;
float W = object->GetWidth();
CHRESULT object->get_Width(float* W);

Put

C#float object.Width = W;
VB.NETobject.Width = W As Single
C++float object->Width = W;
void object->PutWidth(float W);
CHRESULT object->put_Width(float W);

object

A SftMaskCaption object.

W

Defines the caption width (overrides SizePercent). The units used depend on the container used (e.g., 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.

See Also SftMaskCaption Object | Object Hierarchy


Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.