This function checks whether the detection is enabled for the specified format and returns the format's detection priority.
Copy Code
|
|
---|---|
AT_ERRCODE ACCUAPI IG_fltr_detect_get( DWORD dwFormatID, LPAT_BOOL lpDetectEnable, LPLONG lpDetectPriority ); |
Name | Type | Description |
---|---|---|
dwFormatID | DWORD | Specifies the format filter ID for which the detection flag and detection priority is retrieved. See enumIGFormats for possible values. |
lpDetectEnable | LPAT_BOOL | Pointer to a variable that receives the flag specifying whether or not the detection is enabled for the given format. |
lpDetectPriority | LPLONG | Pointer to a variable that receives the filter detection priority. The greater this value the higher the priority. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT nErrcount; // Count of returned errors on stack
AT_BOOL bDetectEnable;
LONG nDetectPriority;
nErrcount = IG_fltr_detect_get(IG_FORMAT_TIF, &bDetectEnable, &nDetectPriority);
|