Partager via


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

The Filters object has these types of members:

Methods

The Filters object has these methods.

Method Description
Add (Filters) Appends or inserts a new Filter of the specified FilterID into a Filters collection.
Remove (Filters) Removes the designated filter.

Properties

The Filters object has these properties.

Property Access type Description
Count (Filters)
Read-only
Retrieves the number of members in the Filters collection.
Item (Filters)
Read-only
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.

Creation\Access Functions

Use any of the following to retrieve a reference to the object:

Filters (ImageProcess)

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Filters (ImageProcess)