Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.MaxHeightPix Property

Defines the maximum height of the item.

Syntax

Get

VB.NETMaxPix = object.MaxHeightPix As Integer
VBMaxPix = object.MaxHeightPix As Long
C#.NETint MaxPix = object.MaxHeightPix;
VC++long MaxPix = object->MaxHeightPix;
long MaxPix = object->GetMaxHeightPix();
CHRESULT object->get_MaxHeightPix(long* MaxPix);

Put

VB.NETobject.MaxHeightPix = MaxPix As Integer
VBobject.MaxHeightPix = MaxPix As Long
C#.NETint object.MaxHeightPix = MaxPix;
VC++long object->MaxHeightPix = MaxPix;
void object->PutMaxHeightPix(long MaxPix);
CHRESULT object->put_MaxHeightPix(long MaxPix);

object

A SftBoxItem object.

MaxPix

Defines the maximum height of the item in pixels. If 0 is specified, items use the height required, so items are not clipped vertically.

Comments

The MaxHeightPix property defines the maximum height of the item.

If items are larger than the defined maximum height, they are truncated and clipped.

This property has no effect when variable height items are used (see Items.Style). The Item.MinHeightPix and MaxHeightPix properties can be used for variable height items to define the minimum and maximum height for each individual item.

The Items.Lines property can be used to define the number of text lines used for item height calculation.

The Items.MinHeightPix property defines the minimum height of all items.

See Also SftBoxItem Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.