> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TextLayerInjectionParams Object (ITextLayerInjectionParams Interface)

This object allows you to tune the parameters of processing the input "image only" or "image on text" PDF files while creating a searchable PDF file with the help of the [InjectTextLayer](/fine-reader/engine/api-reference/engine-object-iengine-interface/processing-methods/injecttextlayer-method) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object. The properties of a newly created object of this type are set to reasonable defaults (see the properties description).

## Properties

<table><thead><tr><th><p><strong>Name</strong></p></th><th><p><strong>Type</strong></p></th><th><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p><strong>Application</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/engine-object-iengine-interface">Engine</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Returns the <strong>Engine</strong> object.</p></td></tr><tr><td><p><a name="allowchangepdfaview" /><strong>AllowChangePDFAView</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Specifies whether to change the appearance of the output PDF file in case of problems during its processing.<br /> <br />This property is FALSE by default, which means whenever the document is invalid, you will get the FREN\_E\_PDFA\_CONVERSION\_FAILED return code, and the document processing will be canceled.<br />If this property is TRUE, a warning about changing the appearance of the output will be displayed. Use the <strong><a href="/fine-reader/engine/api-reference/supplementary-objects-and-methods/iprocessingevents">IProcessingEvents</a></strong> callback to manage the document processing.</p></td></tr><tr><td><p><a name="pdfacompliancemode" /><strong>PDFAComplianceMode</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/pdfacompliancemodeenum">PDFAComplianceModeEnum</a></strong></p></td><td><p>Specifies the PDF/A standard compliance for the output PDF file.</p><p>This property is PCM\_None by default, which means that the output file inherits the PDF/A standard compliance from the original document.</p></td></tr><tr><td><p><a name="performrecognition" /><strong>PerformRecognition</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Specifies whether the document processing should be performed during text layer injection.</p><p>This property is TRUE by default. If this property is FALSE, the original document will be converted without text layer injection.</p></td></tr><tr><td><p><strong>WriteCorrectedImage</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Specifies if skew and orientation correction should be performed on the original document. When this property is set to TRUE, the final document will contain the corrected image.</p><Note>This property is available only if the <a href="/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/pagepreprocessingparams#correctorientationmode">CorrectOrientationMode</a> property of the <a href="/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/pagepreprocessingparams">PagePreprocessingParams</a> object is not set to COM\_No. Otherwise, skew and orientation will not be corrected.</Note><p>This property is FALSE by default.</p></td></tr><tr><td><p><a name="writetaggedpdf" /><strong>WriteTaggedPDF</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Specifies if the resulting PDF document should be tagged.</p><Note>Tagged PDF is a particular use of structured PDF that allows page content to be extracted and used for various purposes such as reflow of text and graphics, conversion to file formats such as HTML and XML, and accessibility to the visually impaired.</Note><p>The exported PDF may contain tags:</p><ul><li>\<DIV> (division elements)</li><li>\<P> (paragraphs)</li><li>\<SPAN> (entry elements)</li><li>\<L> (list elements, list item elements, list item body elements etc)</li><li>\<Caption> (signatures)</li><li>\<Figure> (images)</li><li>\<Link> (external links)</li><li>\<InternalLink> (internal links)</li><li>\<Lbl> (numerators and markers)</li><li>\<RunningTitle> (running titles)</li><li>\<Note> (note entry elements)</li><li>\<Footnote> (explanatory text elements)</li><li>\<Reference> (reference entry elements).</li></ul><p>Moreover, the paragraphs with different languages will be split into text fragments with the \<SPAN> tags. Each \<SPAN> tag contains single language text.</p><Warning>This property must be set to TRUE:</Warning><ul><li>if<strong> PDFAComplianceMode </strong>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.</li><li>if<strong> PDFAComplianceMode </strong>property is set to PCM\_None by default, but PCM\_Pdfa\_1a, PCM\_Pdfa\_2a, or PCM\_Pdfa\_3a are passed as an input parameters.</li></ul><p>The default value of this property is FALSE. However, if the source PDF file is tagged, the value of this property is ignored, and the resulting PDF file is always tagged.</p></td></tr></tbody></table>

## Output parameter

This object is the output parameter of the [CreateTextLayerInjectionParams](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object.

## Input parameter

This object is passed as an input parameter to the [InjectTextLayer](/fine-reader/engine/api-reference/engine-object-iengine-interface/processing-methods/injecttextlayer-method) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object.

## See also

[Working with Profiles](/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles)
