XlsFile.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
Namespace: FlexCel.XlsAdapter
public override Int32 ObjectIndexToImageIndex(Int32 objectIndex)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
objectIndex | Int32 | 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.