Page 1 of 1
Cropping PDF Using Mouse
Posted: Thu Feb 11, 2021 9:07 pm
by tplambeck
It's been a year since I've worked on this project. I need to crop PDF pages. I'm able to crop by defining a rectangle in the code. I cannot get the CropSelectionTool to work at all. I'm assuming that is the correct approach but can't get it to work using a menu item click. Any help appreciated!
Thanks - Todd
Re: Cropping PDF Using Mouse
Posted: Fri Feb 12, 2021 5:52 pm
by Alex
Hello Todd,
Please do the following test:
- Run VintaSoft PDF Editor Demo
- Open PDF document
- Click "Crop Selection" button in toolbar
- Select rectangular region on PDF page
- Click left mouse button on selected region and PDF page will be cropped
Please see source codes of VintaSoft PDF Editor Demo in installation of SDK "[SdkInstallPath]\VintaSoft\Imaging .NET v10.0\Examples\WinForms\CSharp\PdfEditorDemo\".
Best regards, Alexander