Cyotek.Windows.Forms.ImageBox icon indicating copy to clipboard operation
Cyotek.Windows.Forms.ImageBox copied to clipboard

VirtualDraw and Scale\Transform

Open mPisano opened this issue 7 years ago • 2 comments

First off - Richard Great work!

I have some print code that I would love to have as a form component. The Print routine now currently assumes Width, Length and Scale to deal with Letter vs A4 and 300 vs 600 DPI in printers. ie (ie RenderReport(g, 850,1100,100);

I can only render the whole page, so after I would like to Transform(x,y) to shift to the newer upper left and clip(x+w, y+h) the right and bottom based on the scale so that the rendered size is always the size of the Window while maintaining the aspect ratio.

I can get it to sort of work, but the scroll bars are screwed and the highlight a region is off?

Any Suggestions? Thanks, Mike

mPisano avatar Jul 20 '18 20:07 mPisano

Hello,

Apologies for the delay in responding. Do you have a small project you can share which demonstrates the approach you're taking and the unexpected behaviour you're experiencing?

Regards; Richard Moss

cyotek avatar Aug 04 '18 08:08 cyotek

Is there more information about how to use Virtual Mode and its applications? I read the articles but am still lost. What is the use of Virtual Mode other than displaying that bounding box as some sort of "helper"?

lordofscripts avatar Sep 05 '20 21:09 lordofscripts