Is there a way to determine the html for the page being created (not the entire document)?
For example, if I pass this in:
var htmlToPdfDocument = htmlToPdfConverter.ConvertHtmlToPdfDocument(htmlString, baseUrl);
Obviously, I already have the entire html, but I want to be able to, right before the page is being created, determine if certain text or css class exists on that page.
I looked at: https://www.hiqpdf.com/documentation/multiple-html-layers.aspx
But I cannot seem to find any property that shows the html for the page about to be created.
I have a work-around (not ideal), which is to generate a "temporary" pdf, read it, get a list of page #s that contain the text, then try to manipulate the DOM for the "real" PDF. But this is adds a lot of time for long PDF documents/creation.