Q:
I am trying to cut the Bottom off a PDF image. Basically, I need to
open the pdf in your control Then cut the bottom from it? I already
know the height of the pdf document and the height we need to crop the
image. Is this possible using your control?
----
A:
Using PDFNet SDK you can crop and rotate PDF pages, adjust media box,
etc. For example,
Rect crop_box = page.GetCropBox();
media_box.y1 += 100; // crop 200 units from the bottom of the page (1
unit = 1/72 inch).
media_box.Update();
For a full sample code please see Rect sample project that comes as
part of the SDK: