DeleteImage Method

Deletes both the primary and secondary images loaded at the specified index.

Syntax

object.DeleteImage nIndex

Properties

The DeleteImage method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

nIndex

Integer. The index of the image to delete. This is a one-based index.

 

Example

Applies To