VintaSoft PDF .NET Plug-in Discussions

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Check, if pdf page is empty



Check, if pdf page is empty

Post by DanielLW »

Hello,

is there a simple way to check reliably, if a pdf page is empty (no image-only page)?

Or do i have to check every content property of the PDFPage (like PdfPage.TextRegion.FormattedTextContent, PdfPage.GetImages(), ...)? If yes, can you give me an example, what properties do i have to check to be sure the page is empty?

Goal is to implement an empty-page-remove in our application.

Thank you and best regards,
Daniel


Re: Check, if pdf page is empty

Post by Alex »

Hello Daniel,
Goal is to implement an empty-page-remove in our application. I think you need render PDF page and check that rendered image is empty using the IsImageBlankCommand class:
https://www.vintasoft.com/docs/vsimaging ... mmand.html

Best regards, Alexander


Page 1 from 1: 1