Check, if pdf page is empty
Posted: Wed Feb 03, 2016 11:33 am
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
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