- Linux または macOS では、AdviseFREngineObject グローバル関数を呼び出して、オブジェクトを FRDocument オブジェクトにアドバイスします。
- Windows では、標準の COM 手段で、オブジェクトと FRDocument オブジェクトで実装されたイベントソース間の接続を設定します。
プロパティ
Engine オブジェクトを返します。 | ||
, 読み取り専用 | IFRDocument オブジェクトに割り当てられたメモリのサイズを返します。このプロパティの値はバイト単位です。 | |
文書のページコレクションを返します。 | ||
文書のテキストを特殊な「プレーンテキスト」形式で返します。 | ||
, 読み取り専用 | 認識された文書の主要言語を返します。このプロパティには、検出された言語のコレクション (DetectedLanguages プロパティ) の先頭の言語の内部名が格納されます。 このプロパティが有効な値を持つのは、自動言語検出を有効にして認識を実行した場合のみです (詳細はプロパティを参照) 。それ以外の場合は空文字列になります。 | |
認識された文書で検出された認識言語のコレクションにアクセスできます。コレクション内の言語は出現頻度の高い順に並べられます。 このプロパティが有効な値を持つのは、自動言語検出を有効にして認識を実行した場合のみです (詳細はプロパティを参照) 。 言語の一覧が更新されるのは認識後のみです。つまり、文書のレイアウトを手動で編集しても、コレクションは変わりません。 | ||
, 読み取り専用 | 文書の論理構造が古くなっているかどうかを示します。このプロパティが TRUE の場合は、エクスポート前に文書合成を実行する必要があります。そうしないと、エクスポート時にエラーが発生します。 Visual Components を使用する場合、このプロパティは便利です。ユーザーが Visual Components の GUI を使って文書内のページ順序やページ数を変更すると、文書の論理構造は無効になります。このような文書を Visual Components で利用可能なコマンドでエクスポートする場合、Visual Components が文書合成を自動的に実行します。ただし、エクスポートに FineReader Engine API のメソッドを使用する場合は、エクスポート前に文書合成を実行する必要があります。 無効になる可能性があるのは文書構造だけでなく、ページ構造も同様です。したがって、エクスポート前に、文書内のすべてのページが有効なページ構造を持っていることも確認する必要があります (IFRPage::PageStructureOutOfDateプロパティを参照) 。 | |
Provides access to the collection of business cards detected in the document. | ||
Contains information about the author, keywords, subject, and title of the document and stores the document information dictionary. | ||
Returns the collection of attachments of the document. They are extracted from the input PDF document during opening, or you can add your own files to be attached to the output PDF file during export. To attach all the files of this collection to the output PDF file, set theproperty to TRUE. | ||
Returns the collection of the names of fonts which have been extracted out of the input PDF file resources. If the document has been created by opening a file in other format, or from a PDF file containing no fonts, an empty collection will be returned. | ||
, read-only | Indicates whether at least one of the source files was a digitally signed PDF. | |
Specifies if theand theobjects for corresponding pages should be unloaded and saved to disk if there are no references to these objects. For Linux, when this property value is set to PFP_KeepInMemory, the image documents and layouts for unused pages are not saved to disk. このプロパティのデフォルト値はPFP_Autoです。 macOS の場合、このプロパティの値は無視されます。未使用ページの画像ドキュメントおよびLayoutは、常にディスクにアンロードされます。 Windows の場合:ドキュメントの個別ページのImageDocumentおよびLayoutオブジェクトをアンロードしてディスクに保存するには、対応するページに対してIFRPage::Flushメソッドを使用します。 このプロパティのデフォルト値はPFP_Autoです。 | ||
Specifies the path to the folder where the temporary image files in the ABBYY FineReader Engine internal format are stored. By default, the value of this property is “%TEMP%\ABBYY FineReader Engine 12”. | ||
メソッド
オブジェクト図
出力パラメーター
入力パラメーター
- ClassificationEngine オブジェクトの CreateObjectFromDocument メソッド
- Comparator オブジェクトの CompareDocuments メソッド
- IDocumentViewerEvents インターフェースの OnDocumentChanged メソッド (ビジュアルコンポーネント用)
- ITextValidatorEvents インターフェースの OnDocumentChanged メソッド (ビジュアルコンポーネント用)
サンプル
C# コード
C# コード
C++ (COM) コード
C++ (COM) コード
