JVCL Help:TJvCustomItemViewer.ItemRect

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Calculates the bounding rect of an item.


Pascal

 functionItemRect(Index: Integer; IncludeSpacing: Boolean): TRect;


Parameters

Parameters Description
Index: Integer Index of the item to calculate.
IncludeSpacing: Boolean If true, spacing is included in the returned rect.


Return Value

The TRect that bounds the item.


Description

ItemRect calculates the bounding rect of an item and return the result. If IncludeSpacing is true, the values of Options.VertSpacing and Options.HorzSpacing is included in the result.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page