Run Filter In Process

By default, Filter runs out of process. However, you can enable in-process filtering through the API or in the formats.ini file. If the type of process is not specified in the formats.ini or in the API, then Filter is run out of process. If the type of process is specified in the formats.ini and in the API, the setting in the API takes precedence.

In the API

To run Filter in process, instantiate the Filter object using the constructor Filter(string OutputCharSet, UInt32 filterFlags), and set the FilterFlags argument to FILTERFLAG_INPROCESS.

objFilter = new Filter(outputCharSet, FilterConstant.FilterFlagsConstant.FILTERFLAG_INPROCESS);

In the formats.ini File

To run Filter in process, set the following parameter in the [FilterSDK_Config] section of the formats.ini file to 1:

default_inprocess=1

By default this is set to 0 (zero), which enables out-of-process filtering.

The formats.ini file is in the directory install\OS\bin, where install is the path name of the Filter installation directory and OS is the name of the operating system.


_HP_HTML5_bannerTitle.htm