Filters Object

Contains a collection of the Filters that are applied to an ImageFile when you call the Apply method on the ImageProcess object.

Members Table

The following table lists the members exposed by the Filters object.

Method Description
Add (Filters) Appends or inserts a new Filter of the specified FilterID into a Filters collection.
Remove (Filters) Removes the designated filter.
Property Description
Count (Filters) Retrieves the number of members in the Filters collection.
Item (Filters) Retrieves the specified item in the Filters collection by position or FilterID

Remarks

Note that the Filters are applied to an ImageFile in the order they are found in this collection. As such, the Convert filter, if used, must be the last filter in the collection and can only occur once.

For example code, see Convert Filter: Create a Compressed JPEG File from Another File.

Object Information

CLSID Not available
Minimum operating systems Windows XP SP1

See Also

Filters (ImageProcess)