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

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

#include <NetCustomProperties.h>

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

Public Member Functions

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

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