Table of Contents

ExcelChart.DeleteImage Method

Overloads

ExcelChart.DeleteImage(Int32)

Deletes the image at position imageIndex.

Syntax

Namespace: FlexCel.Core

public void DeleteImage(Int32 imageIndex)

Parameters

<-> Parameter Type Description
imageIndex Int32 Index of the image to delete. (1 based)

See also

ExcelChart.DeleteImage(Int32, Boolean, String)

Deletes the image at position imageIndex. Note that if the image is grouped, this will remove the full group. To remove a particular image inside a group, use DeleteObject(Int32, String).

Syntax

Namespace: FlexCel.Core

public abstract void DeleteImage(Int32 imageIndex, Boolean usesObjectIndex, String objectPath)

Parameters

<-> Parameter Type Description
imageIndex Int32 Index of the image to delete. (1 based)
usesObjectIndex Boolean If false (the default) then imageIndex is an index to the list of images.
When true imageIndex is an index to the list of all objects in the sheet.
objectPath String Path to the object, when the object is grouped with others. This parameter only has meaning if usesObjectIndex is true.

If it is "absolute" (it starts with "\"), then the path includes the objectIndex, and the objectIndex is not used. An object path of "\1\2\3" is exactly the same as using objectIndex = 1 and objectPath = "2\3"

See also