activePDF Toolkit 2011 API リファレンス
SetTextRotation
テクニカル リファレンス > Toolkit オブジェクト > Toolkit メソッド > SetTextRotation

Glossary Item Box

説明: PrintText に適用するテキストの回転度数を指定します。
構文: object.SetTextRotation RotationAngle
引数: 引数 値の型 説明 & 設定
object N/A オブジェクトのインスタンスを設定します。
RotationAngle Short 反時計方向の回転度数(時計方向の場合は負数で設定します)
例:
'SetTextRotation Example
Set TK = CreateObject("APToolkit.Object")

r = TK.OpenOutputFile("SetTextRotation.pdf")

'Set the rotation of the printed text
TK.SetTextRotation -45

TK.SetFont "Helvetica", 20, 0
TK.PrintText 30, 740, "Hello World", 0

TK.CloseOutputFile

Set TK = Nothing