Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemHeight Property, SftTree Object

Returns the height of one item in the tree control.

Deprecated - Provided for compatibility with earlier versions only - Use Items.Height or Item.Height instead

Syntax

Get

VB.NETHeight = object.get_ItemHeight(ByVal ItemIndex As Object) As Single
VBHeight = object.ItemHeight(ByVal ItemIndex As Variant) As Single
C#.NETfloat Height = object.get_ItemHeight(object ItemIndex);
VC++float Height = object->ItemHeight[const _variant_t& ItemIndex];
float Height = object->GetItemHeight(const _variant_t& ItemIndex);
CHRESULT object->get_ItemHeight(VARIANT ItemIndex, float* Height);

object

A SftTree object.

ItemIndex

The zero-based index of the item whose height is to be returned. In a fixed height tree control, -1 can be specified to retrieve the height for all items. Visual Basic: This is an optional parameter and can only be used if variable height items are used (see Items.Style).

Height

Returns the height of one item in the tree control. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.Height or Item.Height instead

The ItemHeight property returns the height of one item in the tree control.

ItemHeight applies to a tree control with variable height items only (see Items.Style). For fixed height items, the ItemHeight1 property can be used instead.

See Also SftTree Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.