Link to home
Start Free TrialLog in
Avatar of pcssecure
pcssecureFlag for Hong Kong

asked on

Changing Printing area.

Hi,

   In a document/View framework, what do I do if I only want to print out a certain portion of the entire document, which is an image.

Thanks.
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

You are writing the code to print the document,  so if you only want to print part of the document then only write the code for that part.
If you mean dpending on user options then in your printing code check the options to determine what part of the document to print.
Avatar of pcssecure

ASKER

So what are these options?
I don't know - you are coding your app, not me.
Avatar of limin123
limin123

Check output CPrintInfo in MSDN.
ASKER CERTIFIED SOLUTION
Avatar of limin123
limin123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ah, it's clearer now.  You were not interested in the user selecting an image or part of your doc on screen and then pressing print.