Open menagugi opened 1 year ago
PropertyId WIA_IPS_CUR_INTENT 6146 is missing in class WiaPropertyID. Anyway i can set its value by SetProperty method to select color or greyscale acquisition.
From windef.h:
#define WIA_IPS_CUR_INTENT 6146 // 0x1802 #define WIA_IPS_CUR_INTENT_STR L"Current Intent" // // WIA_IPS_CUR_INTENT flags // #define WIA_INTENT_NONE 0x00000000 #define WIA_INTENT_IMAGE_TYPE_COLOR 0x00000001 #define WIA_INTENT_IMAGE_TYPE_GRAYSCALE 0x00000002 #define WIA_INTENT_IMAGE_TYPE_TEXT 0x00000004 #define WIA_INTENT_IMAGE_TYPE_MASK 0x0000000F #define WIA_INTENT_MINIMIZE_SIZE 0x00010000 #define WIA_INTENT_MAXIMIZE_QUALITY 0x00020000 #define WIA_INTENT_BEST_PREVIEW 0x00040000 #define WIA_INTENT_SIZE_MASK 0x000F0000
PropertyId WIA_IPS_CUR_INTENT 6146 is missing in class WiaPropertyID. Anyway i can set its value by SetProperty method to select color or greyscale acquisition.
From windef.h: