On Wed, 25 Jul 2007 06:33:47 -0700, Gina_Marano <gi*******@gmail.com>
wrote:
Pete, the reason for the rotate is so I don't have to care about the
page length and width. I probably don't want to have to query the
printer to try and find out what size of paper is in tray 1
You get the page size in the PrintPageEventArgs. There's no need to
"query the printer".
... All I
care about is that the position of the barcode is in the same position
lower right hand corner of the paper regardless of papersize.
Then look at the paper size in the PrintPageEventArgs and position the
barcode according to the paper size. It's no different than, for example,
drawing a footer on a printed page or anchoring a user-interface element
to the right and/or bottom of a window.
Note: if
it where just the length that varies then I would just have to use a
report footer but after getting that working I realized that the width
could vary also.
I don't know what a "report footer" is, but if you have that as an option,
why doesn't the "report footer" offer support for specifying alignment?
As in, make the element you want to include in the footer right-aligned,
so that it always winds up flush against the right side of the footer?
Any ideas how one would rotate the image 180 degrees?
Yes. I posted that information in my first reply. There are other ways,
but what I already wrote is the most straightforward, IMHO.
Pete