PDFTool.NET  6.0
Public Member Functions | Protected Attributes | List of all members
PdfTkNet::PtlSearchTextResults Class Reference

PrlPtlPDFDocument/PtlPageのsearchText関数で取得されるテキスト検索結果のコンテナを表現するクラスです。 More...

#include <NetSearchTextResults.h>

Inheritance diagram for PdfTkNet::PtlSearchTextResults:
Inheritance graph
[legend]
Collaboration diagram for PdfTkNet::PtlSearchTextResults:
Collaboration graph
[legend]

Public Member Functions

PdfTk::PtlSearchTextResults * getNative ()
 
 PtlSearchTextResults ()
 コンストラクタ More...
 
 PtlSearchTextResults (PtlSearchTextResults^ obj)
 コピーコンストラクタ alias copy More...
 
 ‾PtlSearchTextResults ()
 デストラクタ
 
 !PtlSearchTextResults ()
 ファイナライザ。
 
PtlSearchTextResults operator= (PtlSearchTextResults^ obj)
 コピーオペレータ alias copy More...
 
bool isEmpty ()
 空かどうかを取得。 More...
 
int getCount ()
 テキスト検索結果数を取得。 More...
 
PtlSearchTextResult get (int index)
 テキスト検索結果を取得。 More...
 

Protected Attributes

PdfTk::PtlSearchTextResults * m_native
 

Detailed Description

PrlPtlPDFDocument/PtlPageのsearchText関数で取得されるテキスト検索結果のコンテナを表現するクラスです。

Constructor & Destructor Documentation

◆ PtlSearchTextResults() [1/2]

PdfTkNet::PtlSearchTextResults::PtlSearchTextResults ( )

コンストラクタ

Exceptions
PtlException

◆ PtlSearchTextResults() [2/2]

PdfTkNet::PtlSearchTextResults::PtlSearchTextResults ( PtlSearchTextResults obj)

コピーコンストラクタ alias copy

Parameters
objコピー元オブジェクト。
Exceptions
PtlException

Member Function Documentation

◆ get()

PtlSearchTextResult PdfTkNet::PtlSearchTextResults::get ( int  index)

テキスト検索結果を取得。

指定した番号の検索結果を取得します。

Parameters
indexIndex番号。0が先頭。
indexが負や検索結果数以上の場合は、例外が発生します。
Returns
検索結果。
Exceptions
PtlException

◆ getCount()

int PdfTkNet::PtlSearchTextResults::getCount ( )

テキスト検索結果数を取得。

Returns
検索結果数。
Exceptions
PtlException

◆ isEmpty()

bool PdfTkNet::PtlSearchTextResults::isEmpty ( )

空かどうかを取得。

Returns
true: 空、false: 空ではない。
Exceptions
PtlException

◆ operator=()

PtlSearchTextResults PdfTkNet::PtlSearchTextResults::operator= ( PtlSearchTextResults obj)

コピーオペレータ alias copy

Parameters
objコピー元オブジェクト。