I believe that if you use that 3rd
canvas and set its dimensions to be as big as necessary it won’t print
the scrollbar on the printer even though the SWF itself would need the
scrollbar. I haven’t played around with this though to be sure.
Matt
From: greenfishinwater
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005
7:12 AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] How toprint
2 canvas on a sigle page
In my app I have a TabNavigator which switches
between 2 canvas. Each
Canvas has a sigle data grid. I can print out each
canvas on seperate
pages, but physically all that data can fit on a
single page. How do I
print 2 seperate canvas on a single page?
It seems like the addPage method of the print job
can only take a
single component.
One work around is to have a third canvas which
has a datagrid that
contains the data from the other 2 datagrids. But
to get this grid to
print on a single page would mean having thegrid
dimensions taller
than the space my Flex app takes up, i.e. ifyou
were to view this
grid it would have scroll bars so you could view
all the data. So I
don't think this is a practical solution.
Any other ideas.
Thank you
Andrew
|