Vai al contenuto principale
Questo oggetto viene utilizzato per configurare i parametri della sintesi del documento. Consente di specificare i font che verranno usati per riprodurre diversi tipi di carattere nel testo riconosciuto, selezionare i parametri per il rilevamento della struttura del documento e gestire l’utilizzo della memoria durante la sintesi del documento. L’oggetto SynthesisParamsForDocument è un oggetto persistente. Ciò significa che lo stato corrente dell’oggetto può essere scritto in un’archiviazione persistente. In seguito, l’oggetto può essere ricreato leggendo il suo stato dall’archiviazione persistente. I seguenti metodi consentono di rendere persistente l’oggetto: Linux: SaveToFile e LoadFromFile Windows SaveToFile, LoadFromFile, SaveToMemory e LoadFromMemory.

Proprietà

,read-only

Returns the Engine object.

Specifies whether document structure detection should be performed while document synthesis.

Per impostazione predefinita questa proprietà è TRUE.

Provides access to the parameters of document structure detection.

Specifies whether font formatting detection should be performed while document synthesis. If this property is set to FALSE, the FontFormattingDetectionParams property is ignored.

With the default settings, ABBYY FineReader Engine 12 detects font parameters at the stage of document synthesis. If you set the value of this property to FALSE, you must turn on detection of font parameters during page synthesis. To do this, set theISynthesisParamsForPage::DetectFontFormattingAtPageLevelproperty to TRUE. Detection of font parameters during page synthesis enables the program to speed up the subsequent document synthesis and decrease memory usage. However, the quality of font detection may deteriorate.

Per impostazione predefinita questa proprietà è TRUE.

If your license does not support theSynthesismodule, the default value of this property is FALSE.

Provides access to the parameters of font formatting detection.

,read-only

Specifies the set of fonts to be used during document synthesis.

Specifies whether low memory mode should be used during document synthesis. If you set this property to TRUE, ABBYY FineReader Engine will try to use no more than 600 Mb of memory during document synthesis by loading less pages to memory simultaneously. However, document synthesis may slow down and the quality may slightly deteriorate.

By default, the value of this property is FALSE.

Specifies how many pages can be loaded by document synthesis simultaneously. This property can be used to decrease memory usage. We recommend that you use the value in range from 32 to 64. The more the value, the more the speed of processing. However, it is not recommended to use the highest values of this property for processing big documents, as this may lead to an “out of memory” error. The value less than 5 is ignored.

By default, the value of this property is 64.

Metodi

NomeDescrizione
CopyFromInizializza le proprietà dell’oggetto corrente con i valori delle proprietà corrispondenti di un altro oggetto.
LoadFromFileRipristina il contenuto dell’oggetto da un file su disco.
LoadFromMemory <Note> : Solo Windows. </Note>Ripristina il contenuto dell’oggetto dalla memoria globale.
SaveToFileSalva il contenuto dell’oggetto in un file su disco.
SaveToMemory <Note> : Solo Windows. </Note>Salva il contenuto dell’oggetto nella memoria globale.
SynthesisParamsForDocument Diagramma degli oggetti

Parametro di output

Questo oggetto è il parametro di output del metodo CreateSynthesisParamsForDocument dell’oggetto Engine.

Parametro di input

Questo oggetto viene passato come parametro di input ai metodi seguenti: SynthesisParamsForDocument_VC

Esempi

L’oggetto viene utilizzato nei seguenti esempi di codice:

Vedi anche

Parametri di ottimizzazione per la preelaborazione, l’analisi, il riconoscimento e la sintesi SynthesisParamsForPage Lavorare con le proprietà