Antenna House PDF Tool API (C++) 8.0
PtlParamWaterMarkText.h
1
2// PtlParamWaterMarkText.h
3// Copyright (C) 2013-2020 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLPARAM_WATERMARK_TEXT_H_
7#define PDFTK_PTLPARAM_WATERMARK_TEXT_H_
8
9#include "PtlParamWaterMark.h"
10
11namespace PdfTk {
12
13class PtlParamString;
14class PtlParamFont;
15class PtlColor;
16
21
23{
24public:
33
34public:
40
48
53
54public:
61
62public:
68 void setString(const PtlParamString& inParam);
69
75 void setFont(const PtlParamFont& font);
76
84 void setTextColor(const PtlColor& textlColor);
85
93 void setOutlineColor(const PtlColor& strokeColor);
94
104 void setWriteDiagonal(bool writeDiagonal);
105
115 void setTextAngle(float angle);
116
117
125 void setUnderline(bool underline);
126
134 void setTextAlign(TEXT_ALIGN textAlign);
135
136};
137
138} // namespace PdfTk
139
140#endif // PDFTK_PTLPARAM_WATERMARK_TEXT_H_
141
PtlParamWaterMark(TYPE_WATERMARK type)
コンストラクタ。
PtlParamWaterMarkText(const PtlParamWaterMarkText &obj)
コピーコンストラクタ alias copy
PtlParamWaterMarkText & operator=(const PtlParamWaterMarkText &obj)
コピーオペレータ alias copy
void setWriteDiagonal(bool writeDiagonal)
透かしのテキストを対角線上に配置するか否かを設定。
void setOutlineColor(const PtlColor &strokeColor)
透かしの文字の縁取りに指定する色を設定。
~PtlParamWaterMarkText()
デストラクタ
void setTextAlign(TEXT_ALIGN textAlign)
テキストのページ内での配置位置を設定します。
void setFont(const PtlParamFont &font)
透かしに指定するフォントを設定。
void setString(const PtlParamString &inParam)
透かしに指定する文字列を設定。
void setTextAngle(float angle)
透かしのテキストを任意の角度で配置する角度を設定。
void setUnderline(bool underline)
下線を引くかどうかを設定。
void setTextColor(const PtlColor &textlColor)
透かしの文字に指定する色を設定。
PtlParamWaterMarkText()
コンストラクタ