PDFTool.NET 7.0
NetParamWaterMarkText.h
1
10#ifndef PDFTK_NET_PTLPARAM_WATERMARK_TEXT_H_
11#define PDFTK_NET_PTLPARAM_WATERMARK_TEXT_H_
12
13#include <PdfTkNet/NetParamWaterMark.h>
14
15namespace PdfTkNet {
16
17ref class PtlParamFont;
18ref class PtlColor;
19
24
26{
27public:
36
37public:
43
51
56
61
62public:
69
70public:
76 void setString(String^ inParam);
77
83 void setFont(PtlParamFont^ font);
84
92 void setTextColor(PtlColor^ textColor);
93
101 void setOutlineColor(PtlColor^ strokeColor);
102
112 void setWriteDiagonal(bool writeDiagonal);
113
123 void setTextAngle(float angle);
124
132 void setUnderline(bool underline);
133
141 void setTextAlign(TEXT_ALIGN textAlign);
142};
143
144} // namespace PdfTkNet
145
146#endif // PDFTK_NET_PTLPARAM_WATERMARK_TEXT_H_
PDFの色を表現したクラスです。 すべての色クラスのベースクラスです。
Definition NetColor.h:23
PtlContent/PtlPramWatermarkTextのフォント指定に使うパラメータクラスです。
Definition NetParamFont.h:22
PtlParamWaterMark(TYPE_WATERMARK type)
コンストラクタ
void setWriteDiagonal(bool writeDiagonal)
透かしのテキストを対角線上に配置するか否かを設定。
void setString(String^ inParam)
透かしに指定する文字列を設定。
PtlParamWaterMarkText operator=(PtlParamWaterMarkText^ obj)
コピーオペレータ alias copy
void setTextAngle(float angle)
透かしのテキストを任意の角度で配置する角度を設定。
void setUnderline(bool underline)
下線を引くかどうかを設定。
PtlParamWaterMarkText(PtlParamWaterMarkText^ obj)
コピーコンストラクタ alias copy
‾PtlParamWaterMarkText()
デストラクタ
TEXT_ALIGN
テキストの配置
Definition NetParamWaterMarkText.h:31
@ TEXT_ALIGN_CENTER
中央寄せ
Definition NetParamWaterMarkText.h:33
@ TEXT_ALIGN_LEFT
左寄せ
Definition NetParamWaterMarkText.h:32
@ TEXT_ALIGN_RIGHT
右寄せ
Definition NetParamWaterMarkText.h:34
void setTextAlign(TEXT_ALIGN textAlign)
テキストのページ内での配置位置を設定します。
void setTextColor(PtlColor^ textColor)
透かしの文字に指定する色を設定。
void setFont(PtlParamFont^ font)
透かしに指定するフォントを設定。
PtlParamWaterMarkText()
コンストラクタ
void setOutlineColor(PtlColor^ strokeColor)
透かしの文字の縁取りに指定する色を設定。