Logged out, click to login

JEDI Online help - Details



Back to unit JvDataProviderIntf.pas Back Edit Search Administration

IJvDataItemsRenderer.MeasureItemByIndex

Summary
Measure an item given its index.

Parameters
ACanvas - Canvas to measure on. On entry to this method it is assumed the canvas brush, pen and font are initialized to the proper values.
Index - Index into the items array of the item to measure.

Description
MeasureItemByIndex measures the item specified by the Index 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.<br> <br> The caller is responsible for initializing the canvas to the brush, pen and font color.<br>

See Also
IJvDataItemsRenderer.AvgItemSize, IJvDataItemsRenderer.DrawItemByIndex,
IJvDataItemsRenderer.MeasureItem

Last changed by obones on 2009-01-04 21:13:59 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library