Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I am new here. I need help. I am working on a project. In C#/WPF, first i want to open a pdf file. I can open it in webbrowser, no problem. Then, I want to crop this. I want to select a part of pdf with mouse, and save selected part to an imagebox and save as a png. how can i do that? Can you help me please?

What I have tried:

I opened pdf with webbrower. I think we need to write code to take a screenshot of the window.
Posted
Updated 9-Dec-18 6:14am

1 solution

 
Share this answer
 
Comments
Member 14083000 9-Dec-18 13:58pm    
Is there any other solution than looking at google? :/
Richard MacCutchan 10-Dec-18 4:19am    
Yes, you could study the .NET documentation in the sections on image handling.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900