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

サイズ(幅、高さ)を表現したクラスです。
サイズの単位はmmでとなりますので注意してください。 More...

#include <NetSize.h>

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

Public Member Functions

PdfTk::PtlSize * getNative ()
 
 PtlSize ()
 コンストラクタ More...
 
 PtlSize (float width, float height)
 コンストラクタ More...
 
 PtlSize (PtlSize^ obj)
 コピーコンストラクタ More...
 
 ‾PtlSize ()
 デストラクタ
 
 !PtlSize ()
 ファイナライザ。
 
PtlSize operator= (PtlSize^ obj)
 コピーオペレータ More...
 
float getWidth ()
 幅を取得。 More...
 
void setWidth (float width)
 幅を設定。 More...
 
float getHeight ()
 高さを取得。 More...
 
void setHeight (float height)
 高さを設定。 More...
 

Protected Attributes

PdfTk::PtlSize * m_native
 

Detailed Description

サイズ(幅、高さ)を表現したクラスです。
サイズの単位はmmでとなりますので注意してください。

Constructor & Destructor Documentation

◆ PtlSize() [1/3]

PdfTkNet::PtlSize::PtlSize ( )

コンストラクタ

Exceptions
PtlException

◆ PtlSize() [2/3]

PdfTkNet::PtlSize::PtlSize ( float  width,
float  height 
)

コンストラクタ

Parameters
width幅。単位はmm。
height高さ。単位はmm
Exceptions
PtlException

◆ PtlSize() [3/3]

PdfTkNet::PtlSize::PtlSize ( PtlSize obj)

コピーコンストラクタ

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

Member Function Documentation

◆ getHeight()

float PdfTkNet::PtlSize::getHeight ( )

高さを取得。

Returns
高さの値(単位はmm)

◆ getWidth()

float PdfTkNet::PtlSize::getWidth ( )

幅を取得。

Returns
幅の値(単位はmm)

◆ operator=()

PtlSize PdfTkNet::PtlSize::operator= ( PtlSize obj)

コピーオペレータ

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

◆ setHeight()

void PdfTkNet::PtlSize::setHeight ( float  height)

高さを設定。

Parameters
height高さの値(単位はmm)

◆ setWidth()

void PdfTkNet::PtlSize::setWidth ( float  width)

幅を設定。

Parameters
width幅の値(単位はmm)