[TextLayerInjectionParams] INI file section
The [TextLayerInjectionParams] INI file section defines parameters for creating a searchable PDF with text layer injection, including PDF/A compliance and image correction settings.
PerformRecognition
| Key | Type | Default |
|---|---|---|
PerformRecognition | Boolean | true |
Specifies whether document processing should be performed during text layer injection. If this property is false, the original document is converted without text layer injection.
PDFAComplianceMode
| Key | Type | Default |
|---|---|---|
PDFAComplianceMode | PDFAComplianceModeEnum | PCM_None |
Specifies the PDF/A standard compliance for the output PDF file. The default value PCM_None means that the output file inherits the PDF/A standard compliance from the original document.
PDFAComplianceModeEnum
PCM_None: The output file inherits the PDF/A standard compliance from the original document.PCM_Pdfa_1a: PDF/A-1a compliance.PCM_Pdfa_1b: PDF/A-1b compliance.PCM_Pdfa_2a: PDF/A-2a compliance.PCM_Pdfa_2b: PDF/A-2b compliance.PCM_Pdfa_2u: PDF/A-2u compliance.PCM_Pdfa_3a: PDF/A-3a compliance.PCM_Pdfa_3b: PDF/A-3b compliance.PCM_Pdfa_3u: PDF/A-3u compliance.
AllowChangePDFAView
| Key | Type | Default |
|---|---|---|
AllowChangePDFAView | Boolean | false |
Specifies whether to change the appearance of the output PDF file in case of problems during its processing. When set to false, document processing is canceled whenever the document is invalid. If this property is true, a warning about changing the appearance of the output is issued instead.
WriteCorrectedImage
| Key | Type | Default |
|---|---|---|
WriteCorrectedImage | Boolean | false |
Specifies if skew and orientation correction should be performed on the original document. When this property is set to true, the final document contains the corrected image.
This property is available only if the CorrectOrientationMode property of the [PagePreprocessingParams] section isn’t set to COM_No. Otherwise, skew and orientation aren’t corrected.
WriteTaggedPDF
| Key | Type | Default |
|---|---|---|
WriteTaggedPDF | Boolean | false |
Specifies if the resulting PDF document should be tagged. Tagging a PDF embeds structural information that enables text reflow, conversion to formats like HTML and XML, and improved accessibility.
This property must be set to true if the PDFAComplianceMode property is set to PCM_Pdfa_1a, PCM_Pdfa_2a, or PCM_Pdfa_3a, because PDF/A-1a, PDF/A-2a, and PDF/A-3a are always tagged. If the source PDF is tagged, the value of this property is ignored, and the resulting PDF file is always tagged.