DrawRotatedTextBoxEx
テキスト, ページレイアウト
説明
DrawRotatedTextBoxEx 関数と似ていますが、テキストボックスに境界線を表示できます
構文
Delphi
Function TPDFlib.DrawRotatedTextBoxEx(Left, Top, Width, Height, Angle: Double; Const Text: WideString; Options: Integer; Border, Radius, DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawRotatedTextBoxEx(Left As Double, Top As Double, Width As Double, Height As Double, Angle As Double, Text As String, Options As Long, Border As Long, Radius As Long, DrawOptions As Long) As Long
DLL
int DLDrawRotatedTextBoxEx(int InstanceID, double Left, double Top, double Width, double Height, double Angle, const wchar_t * Text, int Options, int Border, int Radius, int DrawOptions);
パラメータ
Left
テキストボックスの左上隅の水平座標
Top
テキストボックス左上隅の垂直座標
Width
ボックスの幅
Height
ボックスの高さ
ボックスを左上隅の周りに回転させる角度。反時計回りの度数で測定します
Angle
Text
ページに描画するテキスト
0 = 垂直方向中央揃え
1 = 上端の垂直配置
2 = 下端の垂直配置
3 = 垂直中央揃え、折り返しなし
4 = 上揃え、折り返しなし
5 = 下揃え、折り返しなし
Options
Border
0 = 境界線なし
1 = 境界線
2 = 角丸の境界線
角の円弧の半径
Radius
DrawOptions
0 = アウトライン
1 = 塗りつぶし
2 = 塗りつぶしとアウトライン
戻り値
| 0 | Options パラメーターが範囲外であるか、Width パラメーターがテキストを含めるには小さすぎます |
|---|---|
| Non-zero | 実際に描画されたテキスト行数 int Options, int Border, int Radius, int DrawOptions); |