HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

MaxHeightPix Property, SftTreeItem Object

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

MaxPix

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

Comments

The MaxHeightPix property defines the maximum height of the item.

If the item is larger than the defined maximum height, it is truncated and clipped.

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

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

The Item.MinHeightPix property defines the minimum height of an item.

See Also SftTreeItem Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.