I am facing issue opening some of the pdf files with the below code.The code stucks when htmlLoadOptions is passed but works file when only source is passed.The files are of small size within 2MB .Could some one suggest on this?
HtmlLoadOptions htmlLoadOptions = new HtmlLoadOptions();
htmlLoadOptions.PageInfo.Margin.Top = 10;
htmlLoadOptions.PageInfo.Margin.Bottom = 10;
Document document = new Document(source, htmlLoadOptions))