PDFExportModeEnum
PDFExportModeEnum enumeration constants are used to set the mode of export into PDF format.
typedef enum {
PEM_TextWithPictures,
PEM_TextOnImage,
PEM_ImageOnText,
PEM_ImageOnly,
PEM_TextOnly
} PDFExportModeEnum;
Elements
Name | Description |
---|---|
PEM_ImageOnly |
The entire image is saved as a picture. The recognized text and layout information are not used in this mode, so the recognition stage may be skipped. Note: If you export to PDF format with MRC compression in PEM_ImageOnly mode, it is recommended to set IPageAnalysisParams::CollectPdfExportData to TRUE. |
PEM_ImageOnText | The image without text is saved as a picture. The recognized text is saved as text and is put under the image. This option is useful if you export your text to document archives: the full page layout is retained and the full-text search is available if you save in this mode. |
PEM_TextOnImage | The image without text is saved as a picture. The recognized text is saved as text and is put over the image. |
PEM_TextOnly |
The recognized text is saved as text. Pictures are not saved. If this mode is used, the values of the BwPictureFormats, ColorPictureFormats, and GrayPictureFormats properties of the PDFPictureCompressionParams subobject are ignored. |
PEM_TextWithPictures | The recognized text is saved as text, and the pictures are saved as pictures. |
Used in
7/3/2024 8:50:25 AM