Determining empty region in a PDF for barcode placement

Is there a practical method to determine an empty region in a PDF in order to place a QR Code programmatically?

Thank you very much in advance.

@Mangoflow

Thanks for contacting support.

Currently Aspose.PDF API offers feature of trimming white space around PDF Page. However, we need to log an investigation ticket in our issue tracking system for your specific requirements. We would really appreciate if you can share some sample source files with us, so that we can log them along with the ticket and share the ticket ID with you.