Cropping from C#
hi
i'm trying remove white margins around pages on document via acrobat 8.1 sdk , struggling workout how go (basically same functionality if document>crop pages>remove white margins).
my code works fine point of cropping, document created via scanner , don't know cropping rectangle be. i'm guessing can found programmatically using media box, have no clue how so.
any appreciated!
i'm trying remove white margins around pages on document via acrobat 8.1 sdk , struggling workout how go (basically same functionality if document>crop pages>remove white margins).
my code works fine point of cropping, document created via scanner , don't know cropping rectangle be. i'm guessing can found programmatically using media box, have no clue how so.
any appreciated!
there no "box" in pdf represents white margins. on non-scanned pdf can figured out finding bounds of each actual object , using math. on scan, it's more complex involving interesting pixel logic.
you need things , set cropbox via iac. iac doesn't give access objects of page :(.
you need things , set cropbox via iac. iac doesn't give access objects of page :(.
More discussions in Acrobat SDK
adobe
Comments
Post a Comment