SftTree/OCX 7.0

SftTreeColumns.OverheadWidthPix Property

Softel vdm, Inc.

Returns the width of the area added to the first column for hierarchical graphics components.

Syntax       

Get

VB.NET

WidthPix = object.OverheadWidthPix  As Integer

VB

WidthPix = object.OverheadWidthPix  As Long

C#.NET

int WidthPix = object.OverheadWidthPix;

VC++

long WidthPix = object->OverheadWidthPix;
long WidthPix = object->GetOverheadWidthPix();

C

HRESULT object->get_OverheadWidthPix(long* WidthPix);

Delphi

WidthPix := object.OverheadWidthPix   : Integer;

object

A SftTreeColumns object.

WidthPix

Returns the width of the area added to the first column for hierarchical graphics components in pixels.

Comments

The OverheadWidthPix property returns the width of the area added to the first column for hierarchical graphics components.

The ColumnsObj.OverheadWidth and ColumnsObj.OverheadWidthPix properties are synonyms, but may use different coordinate systems.

Due to the variable number of levels and the resulting hierarchical display, the width of the first column is always treated as a minimum value.

The OverheadWidthPix property returns the width of the area reserved for non-cell displays, such as label graphics, expand/collapse buttons, tree lines and item graphics for all items.  If more levels are added to a hierarchy, the OverheadWidthPix value increases.

See Also  SftTreeColumns Object | Object Hierarchy


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