AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() void printdocument_PrintPage(object sender, PrintPageEventArgs e)Į.Graphics.PageUnit = GraphicsUnit.Pixel Į.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic Į.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality įloat a = (e.MarginBounds.Width / 100) * e.Graphics.DpiX įloat b = ((e.MarginBounds.Height / 100) * e.Graphics.DpiY) To convert Inches to Pixel, Do I have to multiply by (e.Graphics.DpiX = 600) or multiply by 96. I think that I can solve the problem if I knew the height of the page (e.Graphics) in pixels. The problem is that I have got the image shrunk (its shape is compressed) in the page,so I added an scale that its value is 1500. So in every page, I take a suitable part from the image and I draw it in the page. ![]() I want to print one tall (long) image in many pages.
0 Comments
Read More
Leave a Reply. |