GroupDocs.Conversion provides NoteLoadOptions to give you control over how the source Note document will be processed. The following options could be set:
GroupDocs.Conversion for .NET allows you to set a default font name when a font is not available in the document. You can use DefaultFont property of NoteLoadOptions class to set the default font name. In case DefaultFont is not set the Times New Roman font will be used. The following code snippet shows how to set a default font name when converting from PDF into to Word processing document:
The following code snippet shows how to convert Note document and specify font substitution for missing fonts:
Contracts.Func<LoadOptions>getLoadOptions=()=>newNoteLoadOptions{FontSubstitutes=newList<FontSubstitute>{FontSubstitute.Create("Tahoma","Arial"),FontSubstitute.Create("Times New Roman","Arial"),}};using(Converterconverter=newConverter("sample.one",getLoadOptions)){PdfConvertOptionsoptions=newPdfConvertOptions();converter.Convert("converted.pdf",options);}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.