Load Note document with options

GroupDocs.Conversion provides NoteLoadOptions to give you control over how source Note document will be processed. The following options could be set:

  • DefaultFont - default font for Note document. The specified font will be used if a font is missing. An absolute path to font file must be provided.
  • FontSubstitutes - substitutes specific fonts from the Note document
  • Password¬†-¬†password to unlock protected document

Specify font substitution

The following code sample shows how to convert Note document and specify font substitution for missing fonts:

Contracts.Func<LoadOptions> getLoadOptions = () => new NoteLoadOptions
    FontSubstitutes = new List<FontSubstitute>
        FontSubstitute.Create("Tahoma", "Arial"),
        FontSubstitute.Create("Times New Roman", "Arial"),
    DefaultFont = "Helvetica"
using (Converter converter = new Converter("sample.one", getLoadOptions))
    PdfConvertOptions options = new PdfConvertOptions();
    converter.Convert("converted.pdf", options);

More resources

Examples and Demos

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!