SftBox/OCX 4.5

SftBoxRowHeaders.WidthPix Property

Softel vdm, Inc.

Defines the width of the row header area in pixels.

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 SftBoxRowHeaders object.

WPix

The width of the row header area. The units used are pixels.

Comments

The WidthPix property defines the width of the row header area in pixels.

The RowHeaders.Width and RowHeaders.WidthPix methods are synonyms, but may use different coordinate systems.

The RowHeaders.CalcOptimalWidth or RowHeaders.MakeOptimal methods can be used to calculate or define the optimal width for the row header area. An optimal width allows all text and graphic components in row headers to be displayed in their entirety, without being clipped. 


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