PDFTool.NET 7.0
PdfTkNet::PtlCustomProperties Class Reference

カスタムプロパティのコンテナを表現するクラスです。 More...

#include <NetCustomProperties.h>

Inheritance diagram for PdfTkNet::PtlCustomProperties:
Collaboration diagram for PdfTkNet::PtlCustomProperties:

Public Member Functions

PdfTk::PtlCustomProperties * getNative ()
 PtlCustomProperties ()
 コンストラクタ
 PtlCustomProperties (PtlCustomProperties^ obj)
 コピーコンストラクタ alias copy
 ‾PtlCustomProperties ()
 デストラクタ
 !PtlCustomProperties ()
 ファイナライザ。
PtlCustomProperties operator= (PtlCustomProperties^ obj)
 コピーオペレータ alias copy
bool isEmpty ()
 空かどうかを取得。
int getCount ()
 カスタムプロパティ数を取得。
PtlCustomProperty get (int index)
 カスタムプロパティを取得。
void append (PtlCustomProperty^ custProp)
 カスタムプロパティを追加。
void remove (int index)
 カスタムプロパティを削除。
void removeAll ()
 カスタムプロパティを全て削除。

Protected Attributes

PdfTk::PtlCustomProperties * m_native

Detailed Description

カスタムプロパティのコンテナを表現するクラスです。

Constructor & Destructor Documentation

◆ PtlCustomProperties() [1/2]

PdfTkNet::PtlCustomProperties::PtlCustomProperties ( )

コンストラクタ

Exceptions
PtlException

◆ PtlCustomProperties() [2/2]

PdfTkNet::PtlCustomProperties::PtlCustomProperties ( PtlCustomProperties^ obj)

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

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

Member Function Documentation

◆ append()

void PdfTkNet::PtlCustomProperties::append ( PtlCustomProperty^ custProp)

カスタムプロパティを追加。

最後に、カスタムプロパティを追加します。

Parameters
custPropカスタムプロパティ
Exceptions
PtlException

◆ get()

PtlCustomProperty PdfTkNet::PtlCustomProperties::get ( int index)

カスタムプロパティを取得。

指定した番号のカスタムプロパティを取得します。

Parameters
indexIndex番号。0が先頭。
indexが負やカスタムプロパティ数以上の場合は、例外が発生します。
Returns
PtlCustomProperty。
Exceptions
PtlException

◆ getCount()

int PdfTkNet::PtlCustomProperties::getCount ( )

カスタムプロパティ数を取得。

Returns
カスタムプロパティ数。
Exceptions
PtlException

◆ isEmpty()

bool PdfTkNet::PtlCustomProperties::isEmpty ( )

空かどうかを取得。

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

◆ operator=()

PtlCustomProperties PdfTkNet::PtlCustomProperties::operator= ( PtlCustomProperties^ obj)

コピーオペレータ alias copy

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

◆ remove()

void PdfTkNet::PtlCustomProperties::remove ( int index)

カスタムプロパティを削除。

指定した番号のカスタムプロパティを削除します。

Parameters
index削除するIndex番号。0が先頭。
indexが負やカスタムプロパティ数以上の場合は、例外が発生します。
Exceptions
PtlException

◆ removeAll()

void PdfTkNet::PtlCustomProperties::removeAll ( )

カスタムプロパティを全て削除。

Exceptions
PtlException