Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Remove footer from converted html content

$
0
0
Hi there,
Fist of all thanks for all the wonderful support provided so far by Aspose team.

I have started using Aspose.pdf. I have few issues which are as follows:
1) I want to remove page number or complete footer while converting pdf to html. So, how can I achieve that?
2) It throws system.outofmemory Exception while converting document of about 200 pages. I am running on 8 GB RAM and intel i7. Not sure how much memory is required to run Aspose.pdf.
3) Font family is not present.
4) Performance is much slower than Aspose.words.

Here is my code for the conversion for Pdf to html.

 HtmlSaveOptions saveOptions = new HtmlSaveOptions();


                saveOptions.PartsEmbeddingMode = HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;

                saveOptions.LettersPositioningMethod = HtmlSaveOptions.LettersPositioningMethods.UseEmUnitsAndCompensationOfRoundingErrorsInCss;
                saveOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
                saveOptions.FontSavingMode = HtmlSaveOptions.FontSavingModes.SaveInAllFormats;     
pdfDoc.Save(filename, saveOptions);                          

If you need, I can upload the document for your reference.

Thank you.

Viewing all articles
Browse latest Browse all 3131

Trending Articles