Why don't you support to embed fonts when converting from Word to PDF? |
PDF file size will get increased While embedding the fonts by comparing with non-embedded documents. So that we are not embedding the fonts in the PDF file during Word to PDF conversion by default. |
Do you plan to add this functionality in the future? |
We will consider your requirement and will provide option in our Word to PDF online demo sample to set PDFConformanceLevel in any of our upcoming releases. |
I don't think that example works.
PdfDocument pdfDocument = new PdfDocument(PdfConformanceLevel.Pdf_A1B);
pdfDocument = converter.ConvertToPDF(wordDocument);
The pdf document created on the first line gets destroyed on the second line, because an new object is assignet. To pass the parameter is useless.
WordDocument document = new WordDocument(FileName); DocToPDFConverter converter = new DocToPDFConverter(); //Set the PDF Conformance level. converter.Settings.PdfConformanceLevel = PdfConformanceLevel.Pdf_A1B; PdfDocument pdf = converter.ConvertToPDF(document); pdf.Save(FileLocation); document.Close(); pdf.Close(true); |