| 解 説 | 行揃えを指定するにはjustificationプロパティに以下の値を入れます。
|
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| コード | docObj = app.documents.add(); textFrame = docObj.pages.item(0).textFrames.add(); textFrame.geometricBounds = [0,0, 290,190]; textFrame.contents = "表示位置を指定します"; textFrame.texts.item(0).justification = Justification.centerAlign; |
||||||||||||||
| ■サンプルをダウンロードする >>.zip |