コンストラクタ
名前空間: PdfGeneratorNetFree.PdfContentItemアセンブリ: PdfGeneratorNetFree (in PdfGeneratorNetFree.dll) バージョン: 1.1.0.0
public Text(
float x,
float y,
float width,
float heigth,
string str,
TextStyle textStyle
)
public Text(
float x,
float y,
float width,
float heigth,
string str,
TextStyle textStyle
)
Public Sub New (
x As Single,
y As Single,
width As Single,
heigth As Single,
str As String,
textStyle As TextStyle
)
Public Sub New (
x As Single,
y As Single,
width As Single,
heigth As Single,
str As String,
textStyle As TextStyle
)
パラメーター
- x
- 型: System Single
文字列のX方向の基点
- y
- 型: System Single
文字列のY方向の基点
- width
- 型: System Single
文字列を配置する範囲の幅
- heigth
- 型: System Single
文字列を配置する範囲の高さ
- str
- 型: System String
文字列
- textStyle
- 型: PdfGeneratorNetFree.PgnStyle TextStyle
文字列のスタイル定義
文字の左下が基点になります。
出力する文字列の高さや幅はフォントサイズによって決まります。
width、heightは上下左右の配置で考慮されます。
width、heightが実際に出力される文字列よりも小さい場合、width、heightで指定した範囲を超えて出力されます。