SftMask/OCX 6.5

SftMaskCaption.WidthPix Property

Softel vdm, Inc.

Defines the caption width in pixels (overrides SizePercent).

Syntax       

Get

VB.NET

WPix = object.WidthPix  As Integer

VB

WPix = object.WidthPix  As Long

C#.NET

int WPix = object.WidthPix;

VC++

long WPix = object->WidthPix;
long WPix = object->GetWidthPix();

C

HRESULT object->get_WidthPix(long* WPix);

Delphi

WPix := object.WidthPix   : Integer;

Put

VB.NET

object.WidthPix = WPix  As Integer

VB

object.WidthPix = WPix  As Long

C#.NET

int object.WidthPix = WPix;

VC++

long object->WidthPix = WPix;
void object->PutWidthPix(long WPix);

C

HRESULT object->put_WidthPix(long WPix);

Delphi

object.WidthPix := WPix   : Integer;

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.


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