10#ifndef PDFTK_NET_PTLPARAM_FONT_H_
11#define PDFTK_NET_PTLPARAM_FONT_H_
13#include <PdfTkNet/NetTk.h>
39 PdfTk::PtlParamFont* m_native;
41 PdfTk::PtlParamFont* getNative() {
return m_native; };
60 PtlParamFont(String^ name,
float size,
bool bBold,
bool bItalic,
bool bEmbed);
void setFontSize(float size)
フォントサイズを設定。
PtlParamFont operator=(PtlParamFont^ obj)
コピーオペレータ alias copy
PtlParamFont(PtlParamFont^ obj)
コピーコンストラクタ alias copy
void setName(String^ name)
フォント名を設定。
PtlParamFont(String^ name, float size, bool bBold, bool bItalic, bool bEmbed)
コンストラクタ
WEIGHT
ウェイト
Definition NetParamFont.h:27
@ WEIGHT_LIGHT
ライト
Definition NetParamFont.h:29
@ WEIGHT_EXTRABOLD
エクストラボールド
Definition NetParamFont.h:34
@ WEIGHT_MEDIUM
ミディアム
Definition NetParamFont.h:31
@ WEIGHT_NORMAL
ノーマル
Definition NetParamFont.h:30
@ WEIGHT_BOLD
ボールド
Definition NetParamFont.h:33
@ WEIGHT_SEMIBOLD
セミボールド
Definition NetParamFont.h:32
@ WEIGHT_HEAVY
ヘビー
Definition NetParamFont.h:35
@ WEIGHT_EXTRALIGHT
エクストラライト
Definition NetParamFont.h:28
float getStringWidth(String^ str)
文字列幅を取得。
void setEmbed(bool bEmbed)
フォント埋め込みにするか否かを設定。
void setItalic(bool bItalic)
イタリックか否かを設定。
void setSize(float size)
フォントサイズを設定(ポイント)。
void setWeight(WEIGHT weight)
ウエイトを設定。
void setBold(bool bBold)
ボールドか否かを設定。
PtlParamFont(String^ name, float size, WEIGHT weight, bool bItalic, bool bEmbed)
コンストラクタ