Specifies options for creating a PDF page from recognition output.
Declaration:
|
Copy Code |
struct tagAT_REC_PDF_PAGE_OPTIONS
{
AT_BOOL ForceProportional;
enum enumIGCompressions ImageCompression;
AT_BOOL PreserveGraphics;
AT_BOOL SegmentImage;
AT_BOOL SpecifyImageCompression;
AT_BOOL VisibleImage;
AT_BOOL VisibleText;
} AT_REC_PDF_PAGE_OPTIONS, *LPAT_REC_PDF_PAGE_OPTIONS;
|
Structure Members:
ForceProportional |
Force all text to use proportional fonts (no monospaced font detection). |
ImageCompression |
Compression to use for image (only used if SpecifyImageCompression is TRUE). |
PreserveGraphics |
Preserve graphics (only applicable if bVisibleText is TRUE and bVisibleImage is FALSE). |
SegmentImage |
Whether to segment the image into different chunks based on their recognized type or leave it as one large image. Only has an effect if VisibleImage is enabled. SpecifyImageCompression and ImageCompression will be ignored if this is enabled. Picture portions of the image will be converted using their current format while other regions of the image will be converted to 4-bit, and where possible 1-bit. JPEG compression will be used for 24-bit RGB regions, Deflate for 2 through 8 bit, and G4 for 1-bit. |
SpecifyImageCompression |
Specify image compression yes/no (if no, compression is chosen based on bit depth). |
VisibleImage |
Create the recognized image as an image covering the whole page. |
VisibleText |
Create visible text elements (otherwise, the text hidden if an image is also created). |