ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Filter Functions > IG_fltr_detect_set |
This function turns on or off the format detection procedure for the specified file format. It also sets the format detection priority.
Copy Code
|
|
---|---|
AT_ERRCODE ACCUAPI IG_fltr_detect_set( DWORD dwFormatID, AT_BOOL bDetectEnable, LONG nDetectPriority ); |
Name | Type | Description |
dwFormatID | DWORD | Specifies the format filter ID for which the detection flag and detection priority is set. See enumIGFormats for possible values. |
bDetectEnable | AT_BOOL | TRUE turns the detection on, FALSE turns it off. |
nDetectPriority | LONG | Detection priority to be used during the format detection procedure. Greater values correspond to higher priority. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT nErrcount; // Count of returned errors on stack
nErrcount = IG_fltr_detect_set(IG_FORMAT_TIF, TRUE, 100);
|