private static void HtmlToPdf(string Html, string PdfPath)
{
try
{
string lic = Program.Configuration.GetSection("PeSetting").GetSection("AsposeLicense").Value;
if (!string.IsNullOrEmpty(lic))
…...pdf 23.8.0 version give null reference error while convert...convert html to pdf using HtmlLoadOptions in .Net 6.0 Aspose.PDF...