Hi,
I am trying to convert pdf to html using aspose trial version. The output is quite good, whereas I was wondering if the extra spaces generated by page breaks could be reduced.
Find attached the documents.
Hi,
Hello Muzna,
Document exportDoc = new Document(dataDir + “Securities Act Of 1933.pdf”);<o:p></o:p>
foreach (Page p in exportDoc.Pages)
{
p.PageInfo.Margin = new MarginInfo(0, 0, 0, 0);
}
Aspose.Pdf.Rectangle rect = exportDoc.Pages[1].Rect;
Facades.PdfPageEditor ppe = new Facades.PdfPageEditor();
ppe.BindPdf(exportDoc);
ppe.Zoom = (float)(rect.Width / rect.Height);
ppe.PageSize = new Aspose.Pdf.PageSize((float)rect.Height, (float)rect.Width);
exportDoc.Save(dataDir);