PDFTool.NET 7.0
NetParamImagePage.h
1
10#ifndef PDFTK_NET_PTLPARAM_IMAGEPAGE_H_
11#define PDFTK_NET_PTLPARAM_IMAGEPAGE_H_
12
13#include <PdfTkNet/NetTk.h>
14
15namespace PdfTkNet {
16
17ref class PtlParamDrawImage;
18ref class PtlSize;
19ref class PtlRect;
20
24
25public ref class PtlParamImagePage
26{
27public:
51
66
67protected:
68 PdfTk::PtlParamImagePage* m_native;
69public:
70 PdfTk::PtlParamImagePage* getNative() { return m_native; };
71
72public:
78
86
91
96
97public:
104
105public:
111 void setImage(PtlParamDrawImage^ paramDrawImage);
112
120 void setPaperType(PAPER_TYPE paperType);
121
131
142 void setRect(PtlRect^ rectMM);
143
156 void setMargin(float topMM, float leftMM, float bottomMM, float rightMM);
157
165 void setAlign(ALIGN align);
166};
167
168} // namespace PdfTkNet
169
170#endif // PDFTK_NET_PTLPARAM_IMAGEPAGE_H_
画像の描画に使うパラメータクラスです。
Definition NetParamDrawImage.h:25
void setPaperType(PAPER_TYPE paperType)
用紙タイプを設定。
PtlParamImagePage(PtlParamImagePage^ obj)
コピーコンストラクタ alias copy
void setRect(PtlRect^ rectMM)
画像を配置する矩形を設定。
PtlParamImagePage operator=(PtlParamImagePage^ obj)
コピーオペレータ alias copy
void setCustomPageSize(PtlSize^ sizeMM)
ユーザ定義ページサイズを設定
‾PtlParamImagePage()
デストラクタ
ALIGN
画像の配置
Definition NetParamImagePage.h:55
@ ALIGN_TOP
中央上
Definition NetParamImagePage.h:57
@ ALIGN_BOTTOM_LEFT
左下
Definition NetParamImagePage.h:62
@ ALIGN_TOP_RIGHT
右上
Definition NetParamImagePage.h:58
@ ALIGN_BOTTOM_RIGHT
右下
Definition NetParamImagePage.h:64
@ ALIGN_TOP_LEFT
左上
Definition NetParamImagePage.h:56
@ ALIGN_LEFT
中央左
Definition NetParamImagePage.h:59
@ ALIGN_RIGHT
中央右
Definition NetParamImagePage.h:61
@ ALIGN_CENTER
中央(デフォルト値)
Definition NetParamImagePage.h:60
@ ALIGN_BOTTOM
中央下
Definition NetParamImagePage.h:63
void setAlign(ALIGN align)
画像の配置を設定。
PtlParamImagePage()
コンストラクタ
PAPER_TYPE
用紙タイプ
Definition NetParamImagePage.h:31
@ PAPER_TABLOID
Tabloid.
Definition NetParamImagePage.h:42
@ PAPER_B4_R
B4 Rotated.
Definition NetParamImagePage.h:37
@ PAPER_TABLOID_R
Tabloid Rotated.
Definition NetParamImagePage.h:43
@ PAPER_IMAGE_SIZE
画像サイズに合わせる
Definition NetParamImagePage.h:49
@ PAPER_LETTER_R
Letter Rotated.
Definition NetParamImagePage.h:41
@ PAPER_A3
A3.
Definition NetParamImagePage.h:34
@ PAPER_B5_R
B5 Rotated.
Definition NetParamImagePage.h:39
@ PAPER_B4
B4.
Definition NetParamImagePage.h:36
@ PAPER_A4_R
A4 Rotated.
Definition NetParamImagePage.h:33
@ PAPER_CUSTOM_SIZE
カスタムサイズ
Definition NetParamImagePage.h:48
@ PAPER_A3_R
A3 Rotated.
Definition NetParamImagePage.h:35
@ PAPER_LEGAL_R
Legal Rotated.
Definition NetParamImagePage.h:45
@ PAPER_EXECUTIVE
Executive.
Definition NetParamImagePage.h:46
@ PAPER_LETTER
Letter.
Definition NetParamImagePage.h:40
@ PAPER_EXECUTIVE_R
Executive Rotated.
Definition NetParamImagePage.h:47
@ PAPER_LEGAL
Legal.
Definition NetParamImagePage.h:44
@ PAPER_A4
A4.
Definition NetParamImagePage.h:32
@ PAPER_B5
B5.
Definition NetParamImagePage.h:38
void setMargin(float topMM, float leftMM, float bottomMM, float rightMM)
画像を配置するときの余白を設定。
void setImage(PtlParamDrawImage^ paramDrawImage)
ページに挿入する画像パラメータを設定。
PDFの矩形座標を表現したクラスです。 矩形は左下(left,bottom)、右上(right,top)で表現されます。 座標の単位はmmで原点(0,0)は左下となりますので注意してください。
Definition NetRect.h:24
サイズ(幅、高さ)を表現したクラスです。 サイズの単位はmmでとなりますので注意してください。
Definition NetSize.h:23