Analyse Page Size

Posted by: Alberto on 20 April 2021, 6:46 pm EST

  • Posted 20 April 2021, 6:46 pm EST

    Hello,

    I load an existing (external) PDF Document.

    Is it possible to know for each Page the effectively used print area?

    I see it is possible to iterate over the Text Fragments, but that does not include other kind of Objects.

    What could be an Example code to calculate that?

    Thank you
  • Marked as Answer

    Replied 26 April 2021, 7:02 pm EST

    Hi Alberto,

    Sorry, there is no direct functionality to achieve the desired result using GcPdf.
    But please share the demo pdf with the description of your requirements and use case so that we can escalate it further to the development team for investigation.

    Regards,
    Prabhat Sharma.
  • Replied 27 April 2021, 12:22 am EST

    It is to get rid of the white margins of a generic PDF.
    I understand there is no way to do that.
    Thank you
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels