Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

WidthPix Property, SftMaskCaption Object

Defines the caption width in pixels (overrides SizePercent).

Syntax

Get

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.