I try to remove white space with your dialog which I call with this commands:
Code: Select all
object dummy;
pdfViewer.DoVerb("", "ExecuteCommand", "CropPages", out dummy, 0);
Thanx!
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Code: Select all
object dummy;
pdfViewer.DoVerb("", "ExecuteCommand", "CropPages", out dummy, 0);
)?a white rectangular object that is larger than the blue rectangle
There is no simple, automated way to do this, in our libraries. I can see how this would be a useful feature (but all things have limits!).relapse wrote:Could you please advise me a function from your PDF Tools Library to handle such objects in a pdf document (e.g. a white space object surrounding smaller color object to be cropped -> see the the Walter's answer)?a white rectangular object that is larger than the blue rectangle
I couldn't find any...
How can I determine which objects/dictionaries are related to a certain figure on a pdf page?this library gives direct access to PDF dictionaries, objects, etc.