SftBox/OCX 4.5

SftBoxItem.HeightPix Property

Softel vdm, Inc.

Returns the item's height in pixels.

Syntax       

Get

VB.NET

HPix = object.HeightPix  As Integer

VB

HPix = object.HeightPix  As Long

C#.NET

int HPix = object.HeightPix;

VC++

long HPix = object->HeightPix;
long HPix = object->GetHeightPix();

C

HRESULT object->get_HeightPix(long* HPix);

Delphi

HPix := object.HeightPix   : Integer;

object

A SftBoxItem object.

HPix

Returns the height of the item described by object. The units used are pixels.

Comments

The HeightPix property returns the item's height in pixels.

The Item.Height and Item.HeightPix properties are synonyms, but may use different coordinate systems.

In a fixed height combo box all items have the same height. The Items.Height property can be used instead.


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