InDesignサーバーでページをpngとしてエクスポートする方法はありますか?
次のコードは、テキストフレームで機能します。完全なページコンテンツに対して同じことを行うにはどうすればよいですか?
var theDocument = app.documents.add();
var thePage = theDocument.pages[0];
var theTextFrame = thePage.textFrames.add();
theTextFrame.geometricBounds = [5,5,40,40];
theTextFrame.contents = TextFrameContents.placeholderText;
theTextFrame.exportFile(ExportFormat.pngFormat, File("c:\\test.png"));