レポート時のインデント(字下げ)を指定する
対応バージョン

3.0a 4.0 4.05 5.0 6.0
Windows
×
×
×


Macintosh
×
×
×


ポイント
rep.indent(i*10);
説  明
レポート時のインデント(字下げ)を指定するにはindent()メソッドを使います。引数はインデントする値(単位はポイント)になります。
サンプル

rep = new Report();
rep.writeText("■レポート");
for (i=0; i<4; i++)
{
rep.indent(i*10);
rep.writeText(i);
}
rep.open("report.pdf");

 
■サンプルスクリプトを実行する >> Acrobat で動作確認
補足説明
なし