TExcelFile.ObjectIndexToImageIndex Method
Returns the index on the image collection of an object. Note that this method is slow when there are many images, so use it sparingly.
Syntax
Unit: FlexCel.Core
function TExcelFile.ObjectIndexToImageIndex(const objectIndex: Integer): Integer; virtual; abstract;
Parameters
<-> |
Parameter |
Type |
Description |
const |
objectIndex |
Integer |
General index of the image on the Object collection. |
Returns
-1 if the object is not an image, else the index on the image collection.
See also