can any one guide me how to create a pdf with multiple pages and it should 
contain the data of single advanced datagrid.
I have done coding as

var whatToPrint:UIComponent = dataGridPrint;
var howToResize:String = ResizeMode.FIT_TO_PAGE;                        myPDF = 
new PDF(Orientation.PORTRAIT,Unit.MM,Size.A4);
myPDF.addPage();
myPDF.addImage(whatToPrint,0,0,0,0,"PNG",100,2,howToResize);
myPDF.save(Method.REMOTE,"/Alive/create,Download.ATTACHMENT,"xyz.pdf");

The above code is creating the pdf of one page and adding part of data grid as 
data is more. i want to add full datagrid in multiple pages any help

Reply via email to