FlexDeveloper
07-03-2008, 07:17 PM
Hi,
I am trying to print a tree using FlexPrintJob,Code i am using is
var printJob:FlexPrintJob = new FlexPrintJob();
if (printJob.start()) {
printJob.addObject(treeId,FlexPrintJobScaleType.FI LL_PAGE);
}
// Send the job to the printer.
printJob.send();
treeId is the id of mx:tree control.
The issue is this code does not print the complete tree ,It only displays the visible portion on the screen.To print next i have to scroll tree and then fire print again,Is there any way in which i can print the full tree.
Any help would be great.
Thanks.
I am trying to print a tree using FlexPrintJob,Code i am using is
var printJob:FlexPrintJob = new FlexPrintJob();
if (printJob.start()) {
printJob.addObject(treeId,FlexPrintJobScaleType.FI LL_PAGE);
}
// Send the job to the printer.
printJob.send();
treeId is the id of mx:tree control.
The issue is this code does not print the complete tree ,It only displays the visible portion on the screen.To print next i have to scroll tree and then fire print again,Is there any way in which i can print the full tree.
Any help would be great.
Thanks.