PDFTool.NET
7.0
|
ページに描画されるテキストボックスを表現するクラスです。
テキストボックスをにテキストを書き、テキストボックスをコンテントに配置します。
More...
#include <NetTextBox.h>
Public Types | |
enum | MODE { MODE::MODE_HORIZONTAL = 0, MODE::MODE_VERTICAL = 1 } |
横書き/縦書き More... | |
Public Member Functions | |
PdfTk::PtlTextBox * | getNative () |
PtlTextBox () | |
コンストラクタ More... | |
PtlTextBox (PtlTextBox^ obj) | |
コピーコンストラクタ alias copy More... | |
‾PtlTextBox () | |
デストラクタ | |
!PtlTextBox () | |
ファイナライザ。 | |
PtlTextBox | operator= (PtlTextBox^ obj) |
コピーオペレータ alias copy More... | |
void | setWritingMode (MODE mode) |
横書き/縦書きを設定。 More... | |
void | writeString (String^ str, PtlParamWriteStringTextBox^ paramWriteString) |
文字列を出力。 More... | |
void | writeStringNL (String^ str, PtlParamWriteStringTextBox^ paramWriteString) |
文字列を出力して改行。 More... | |
void | writeNL () |
改行。 More... | |
void | writeNL (float size) |
改行。 More... | |
void | terminate () |
テキストボックスを終了。 More... | |
void | setOutlineColor (PtlColor^ outlineColor) |
テキストボックスの縁取り色を設定。 More... | |
void | setBackColor (PtlColor^ bkColor) |
背景色を設定。 More... | |
void | setOpacity (float opacity) |
不透明度を設定。 More... | |
void | fitToBBox (bool fit) |
TextBoxのサイズをテキストのBBoxに合わせるかどうかの設定。 More... | |
Protected Attributes | |
PdfTk::PtlTextBox * | m_native |
ページに描画されるテキストボックスを表現するクラスです。
テキストボックスをにテキストを書き、テキストボックスをコンテントに配置します。
|
strong |
PdfTkNet::PtlTextBox::PtlTextBox | ( | ) |
コンストラクタ
PtlException |
PdfTkNet::PtlTextBox::PtlTextBox | ( | PtlTextBox^ | obj | ) |
void PdfTkNet::PtlTextBox::fitToBBox | ( | bool | fit | ) |
TextBoxのサイズをテキストのBBoxに合わせるかどうかの設定。
※ 設定しない場合はデフォルト値としてfalseが使用されます。
fit | trueなら合わせる。 |
PtlException |
PtlTextBox PdfTkNet::PtlTextBox::operator= | ( | PtlTextBox^ | obj | ) |
コピーオペレータ alias copy
obj | コピー元オブジェクト。 |
void PdfTkNet::PtlTextBox::setBackColor | ( | PtlColor^ | bkColor | ) |
void PdfTkNet::PtlTextBox::setOpacity | ( | float | opacity | ) |
不透明度を設定。
※ 設定しない場合はデフォルト値として1.0が設定されます。
opacity | 0.0 〜 1.0。0.0が透明、1.0が不透明。 |
PtlException |
void PdfTkNet::PtlTextBox::setOutlineColor | ( | PtlColor^ | outlineColor | ) |
void PdfTkNet::PtlTextBox::setWritingMode | ( | MODE | mode | ) |
横書き/縦書きを設定。
横書き/縦書きを設定します。
途中で変更は出来ません。
※ 設定しない場合はデフォルト値としてMODE_HORIZONTALが使用されます。
mode | 横書きか縦書き。MODEのいずれか。 |
PtlException |
void PdfTkNet::PtlTextBox::terminate | ( | ) |
void PdfTkNet::PtlTextBox::writeNL | ( | ) |
void PdfTkNet::PtlTextBox::writeNL | ( | float | size | ) |
void PdfTkNet::PtlTextBox::writeString | ( | String^ | str, |
PtlParamWriteStringTextBox^ | paramWriteString | ||
) |
void PdfTkNet::PtlTextBox::writeStringNL | ( | String^ | str, |
PtlParamWriteStringTextBox^ | paramWriteString | ||
) |