グラフがほとんどなく、データグリッドが大きいverticalScrollBarを備えた大規模なWebアプリケーションがあります。AlivePdf を使用して Web アプリケーションの PDF を作成する予定です。
現在、以下のコードを使用してアプリケーションの pdf を作成していますが、うまくいきません。
var printView:DisplayObject = new InteractionsAnalysis() as DisplayObject;
printView.width = Application.application.width;
printView.height = Application.application.height;
var printPDF:PDF = new PDF(Orientation.PORTRAIT, Unit.MM, Size.A4);
printPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
printPDF.addPage();
printPDF.addImage(printView,0,0,0,0,"PNG",100,1,ResizeMode.FIT_TO_PAGE);
var f:FileReference = new FileReference();
var b:ByteArray = printPDF.save(Method.LOCAL);
f.save(b);
誰か私に道順を教えてもらえますか?