SftBox/OCX 4.5

SftBoxItems.HeightPix Property

Softel vdm, Inc.

Returns the height of items in pixels (fixed height control only).

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

HPix

Returns the height of items in pixels (fixed height control only). The units used are pixels.

Comments

The HeightPix property returns the height of items in pixels (fixed height control only).

In a variable height combo box, items have varying heights based on their properties. The Item.Height property can be used instead to determine the height of an item.


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