HeaderPane
Main
Hide
Share Link
Print

WidthPix Property, SftMaskCaption Object

Defines the caption width in pixels (overrides SizePercent).

Syntax

Get

C#int WPix = object.WidthPix;
VB.NETWPix = object.WidthPix As Integer
C++long WPix = object->WidthPix;
long WPix = object->GetWidthPix();
CHRESULT object->get_WidthPix(long* WPix);
VBWPix = object.WidthPix As Long

Put

C#int object.WidthPix = WPix;
VB.NETobject.WidthPix = WPix As Integer
C++long object->WidthPix = WPix;
void object->PutWidthPix(long WPix);
CHRESULT object->put_WidthPix(long WPix);
VBobject.WidthPix = WPix As Long

object

A SftMaskCaption object.

WPix

Defines the caption width in pixels (overrides SizePercent)., in pixels.

Comments

The WidthPix property defines the caption width in pixels (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/03/2026 - (email)
© 2026 Softel vdm, Inc.