Antenna House PDF Tool API (.NET) 8.0
|
#include <NetTextBox.h>
公開型 | |
enum class | MODE { MODE_HORIZONTAL = 0 , MODE_VERTICAL = 1 } |
enum class | OUTLINE_STYLE { OUTLINE_STYLE_SOLID = 1 , OUTLINE_STYLE_DASHED = 2 } |
公開メンバ関数 | |
PdfTk::PtlTextBox * | getNative () |
PtlTextBox () | |
コンストラクタ | |
PtlTextBox (PtlTextBox^ obj) | |
コピーコンストラクタ alias copy | |
~PtlTextBox () | |
デストラクタ | |
!PtlTextBox () | |
ファイナライザ。 | |
PtlTextBox | operator= (PtlTextBox^ obj) |
コピーオペレータ alias copy | |
void | setWritingMode (MODE mode) |
横書き/縦書きを設定。 | |
void | writeString (String^ str, PtlParamWriteStringTextBox^ paramWriteString) |
文字列を出力。 | |
void | writeStringNL (String^ str, PtlParamWriteStringTextBox^ paramWriteString) |
文字列を出力して改行。 | |
void | writeNL () |
改行。 | |
void | writeNL (float size) |
改行。 | |
void | terminate () |
テキストボックスを終了。 | |
void | setOutlineStyle (OUTLINE_STYLE lineStyle) |
テキストボックスの縁取のスタイルをOUTLINE_STYLEで設定。 | |
void | setOutlineColor (PtlColor^ outlineColor) |
テキストボックスの縁取り色を設定。 | |
void | setBackColor (PtlColor^ bkColor) |
背景色を設定。 | |
void | setOpacity (float opacity) |
不透明度を設定。 | |
void | fitToBBox (bool fit) |
TextBoxのサイズをテキストのBBoxに合わせるかどうかの設定。 |
限定公開変数類 | |
PdfTk::PtlTextBox * | m_native |
ページに描画されるテキストボックスを表現するクラスです。
テキストボックスをにテキストを書き、テキストボックスをコンテントに配置します。
|
strong |
|
strong |
PdfTkNet::PtlTextBox::PtlTextBox | ( | ) |
コンストラクタ
PtlException |
PdfTkNet::PtlTextBox::PtlTextBox | ( | PtlTextBox^ | obj | ) |
PdfTkNet::PtlTextBox::~PtlTextBox | ( | ) |
デストラクタ
PdfTkNet::PtlTextBox::!PtlTextBox | ( | ) |
ファイナライザ。
void PdfTkNet::PtlTextBox::fitToBBox | ( | bool | fit | ) |
TextBoxのサイズをテキストのBBoxに合わせるかどうかの設定。
※ 設定しない場合はデフォルト値としてfalseが使用されます。
fit | trueなら合わせる。 |
PtlException |
PdfTk::PtlTextBox * PdfTkNet::PtlTextBox::getNative | ( | ) |
PtlTextBox PdfTkNet::PtlTextBox::operator= | ( | PtlTextBox^ | obj | ) |
コピーオペレータ alias copy
obj | コピー元オブジェクト。 |
void PdfTkNet::PtlTextBox::setBackColor | ( | PtlColor^ | bkColor | ) |
void PdfTkNet::PtlTextBox::setOpacity | ( | float | opacity | ) |
void PdfTkNet::PtlTextBox::setOutlineColor | ( | PtlColor^ | outlineColor | ) |
void PdfTkNet::PtlTextBox::setOutlineStyle | ( | OUTLINE_STYLE | lineStyle | ) |
テキストボックスの縁取のスタイルをOUTLINE_STYLEで設定。
※ 設定しない場合はデフォルト値としてOUTLINE_STYLE_SOLIDが設定されます。
lineStyle | 線スタイルの指定。 |
PtlException |
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 ) |
|
protected |