Skip to main content
TextAndBackgroundColorModeEnum enumeration constants are used to define the mode of retaining the original text and background color during export to PDF (PDF/A) format.
typedef enum {
 TBCM_Keep,
 TBCM_DontKeep,
 TBCM_Auto
} TextAndBackgroundColorModeEnum;

Elements

NameDescription
TBCM\_AutoSelect the mode of retaining the original colors depending on value of the IPDFExportParams::Colority property: if it is PCM\_KeepColority, the colors of the original are kept; otherwise, the colors are not retained in the output file.
TBCM\_DontKeepDo not retain the original text and background color, even if IPDFExportParams::Colority is set to keep colority.
TBCM\_KeepRetain the original text and background color in the output file. The colors will be retained regardless of the IPDFExportParams::Colority value.

Used in

IPDFExportFeatures::TextAndBackgroundColorMode