Graphics Help TranslateTransform and RotateTransform

  • Thread starter Thread starter standish22
  • Start date Start date
S

standish22

Hey, I'm confused!

I have a document that I want to print to a printer. I'm using inches
as my units. I got it working w/ Pixels, but my boss told me I have
to use Inches instead.

My question is how do you determine what the values need to be to pass
to
Graphics.TranslateTransform(dx,dy)? When I was using pixels I just
kept adjusting them, until finally after several hours found values
that seem to work.

I'm printing a document and I want to rotate it 180 degrees. (I know
I know, just turn the paper around..., but the paper has folds in
specific places, and printer also automatically folds the paper too.)

So my paper is 8.5x11

I've set Graphics.PageUnit = GraphicsUnit.Inch, and
Graphics.RotateTransform(180.0F)

How do I know what to put for Graphics.TranslateTransform(dx,dy)?
I've tried all kinds of values and my paper is just coming up blank???

Is it the same if my paper is 8.5x14?

Thanks in advance. I'm been mucking w/ this all day!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top