This object is not available on the Web Verification Station for checking rules locally.
Methods
| Method | Description |
|---|---|
Add( value : Object, [optional] position : int ) | Places the value element in the text at a certain position. If no position is specified, the element is placed at the end of the text. The value parameter may be a character, a string, an ICharacterParams object, or an ICharactersParams object. You can copy characters or text from other fields, preserving the markup and highlighting. If the regions of the characters you attempt to copy do not fit within the region of the new field, they are not copied. |
SetPdfDocumentInfo( type : TPdfDocumentInfoType, value : string ) | The metadata of the PDF file. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| AddProperFileExt | bool | Read/write | If the value is set to true, the extension is set according to the image format during image saving. By default, the value is false. |
| ColorType | string | Read/write | Color scheme. Allowed values: FullColor, GrayScale, BlackAndWhite. The strings are not case-sensitive. |
| FieldsToRedact | IExportFieldsToRedact | Read/write | The list of fields to be redacted in the resulting image. |
| Format | string | Read/write | Image saving format. Allowed expressions: tif, jpg, bmp, jpg2000, pcx, png, pdf, plus the -s (PDF Searchable) and -a (PDF/A) parameters. The strings are not case-sensitive. Parameters begin with -. They can be separated with spaces or tabs, or no delimiters can be used. For example: pdf -s, pdf-a-s. |
| ImageCompressionType | TImageCompressionType | Read/write | Sets a compression method for the exported image. By default, a compression method is selected automatically based on the format and colors. If an incompatible compression method is selected, the task is placed in the Exceptions folder. |
| PdfAVersion | TPdfAVersion | Read/write | Specifies the PDF/A version. |
| PdfTextSearchArea | TPdfTextSearchAreaType | Read/write | Specifies where a text layer should be created for export to PDF-S. |
| Quality | int | Read/write | Image quality for JPEG compression (in percentage terms). |
| RecognitionLanguages | string | Read/write | The list of languages that can be used for recognition of documents intended for export to searchable PDF. Consists of the internal names of languages in English, separated by semicolons without spaces. If the list is empty, the language of the Document Definition applied to the document is used. This is effective for annex pages only. For pages with matched sections, only recognized fields have a text layer. Because such fields are recognized in the recognition stage (not the export stage), specifying this property does not influence recognition results for these fields. |
| Resolution | int | Read/write | Image resolution (measured in DPI). |
| SaveAttachmentsToPdf | bool | Read/write | Specifies whether to save the attachment of the PDF file. |
| ShouldOverwrite | bool | Read/write | Specifies whether the existing file can be overwritten. |
| UseMRC | bool | Read/write | Enables compression using Mixed Raster Content (MRC) technology when exporting to PDF or PDF/A. MRC provides better compression for some images than the commonly used JPEG method, for example, for good-quality images with high-contrast text against a uniform background. Use MRC to reduce the size of the resulting PDF file. By default, the flag is true when exporting to PDF and false when exporting to PDF/A. |
ShouldUseOriginalPdf property for keeping original PDF pages unchanged during export.