JVCL Help:IJvDataItemsRenderer.MeasureItem
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: IJvDataItemsRenderer.MeasureItem Method
[+] IJvDataItemsRenderer Methods
Search in JVCL Help
Search in all projectsSummary
Measure an item.
Pascal
functionMeasureItem(ACanvas: TCanvas; Item: IJvDataItem): TSize;
Parameters
Parameters | Description |
ACanvas: TCanvas | Canvas to measure on. On entry to this method it is assumed the canvas brush, pen and font are initialized to the proper values. |
Item: IJvDataItem | The Data Item to measure. |
Description
MeasureItem measures the item specified by the Item parameter. Depending on the implementation the method might first check if the item to measure supports the IJvDataItemRenderer interface; if it does, the measuring is handled by that interface instead.
The caller is responsible for initializing the canvas to the brush, pen and font color.
See Also
IJvDataItemsRenderer.AvgItemSize, IJvDataItemsRenderer.DrawItem, IJvDataItemsRenderer.MeasureItemByIndex
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