シンタックス: | append document, member whichCastmember [, ... , autoAppend ] |
append document, member whichCastmember of castLib whichLib [, ... , autoAppend ] | |
append document, castLib whichCast [, ... , autoAppend ] | |
append document, sprite whichSprite [, ... , autoAppend ] | |
append document, string [, ... , autoAppend ] | |
append document, list [, ... , autoAppend ] |
オブジェクトのタイプ | 追加されるもの |
フィールドキャストメンバー | フィールドのテキスト 指定されたフォントとスタイルを使用 |
テキストキャストメンバー | キャストメンバーのビットマップイメージ アンチエイリアスを含む |
ビットマップキャストメンバー | キャストメンバーのグラフィック |
PICT キャストメンバー | キャストメンバーのグラフィック |
キャストライブラリ | ライブラリ内のすべての印刷可能キャストメンバー キャストの順で |
スプライト | スプライトのキャストメンバー |
テキスト文字列 | テキスト文字列 デフォルトのフォントを使用 ( Macintosh では Geneva 10pt、 Windows では Arial 10pt ) |
リスト | リストの要素 |
set doc = new(xtra "PrintOMatic")
if not objectP(doc) then exit
setDocumentName doc, "My Example Document"
newPage doc
newFrame doc, Rect(0,0,getPageWidth(doc),getPageHeight(doc)
append doc, sprite 1, TRUE
append doc, [member "image", member "caption", sprite 5], TRUE
append doc, castLib "printout", TRUE
if doJobSetup(doc) then print doc
set doc = 0