Skip to main content

[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

KeyTypeDefault
PerformRecognitionBooleantrue

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

KeyTypeDefault
PDFAComplianceModePDFAComplianceModeEnumPCM_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

KeyTypeDefault
AllowChangePDFAViewBooleanfalse

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

KeyTypeDefault
WriteCorrectedImageBooleanfalse

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.

note

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

KeyTypeDefault
WriteTaggedPDFBooleanfalse

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.

info

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.