Personal I have an HTML with the following code:
<div class="page">
...Conteúdo1
</div>
<div class="page">
...Conteúdo2
</div>
<div class="page">
...Conteúdo3
</div>
The "page" class it creates a background as if it were an A4 sheet, so that the content is placed inside it, the following happens, that when I bring the whole HTML into a string they see it in a single string, only I I needed for each page div to generate an image individually, but I have no idea how I could do to separate each div into a different string. If anyone can help.
string HTMLemString = RenderizaHtmlComoString("~/Views/Item/Item.cshtml", id);
The above code is where you bring the entire html page.