IronPDF 'using' Declaration

IronPDF already disposes of `PdfDocument` objects for you without adding a `using` declaration. However, if you would like more control over these stored objects, you may use the `using` declaration as shown here:

using var pdfdoc = Renderer.RenderHtmlAsPdf(ImgHtml);
// some editing functions to the pdf
pdfdoc.SaveAs("output.pdf");

With the `using` declaration, you may choose when to dispose immediately. All code examples work with and without this statement and it is purely up to your decision whether you would like to use it in this way.