Browse our Products

Aspose.Note for .NET 18.9 Release Notes

Major Features

  • Managing font’s environment for a document
  • Inserting of pages functionality

Features and Improvements

KeySummaryCategory
NOTENET-2633Default font for Note documentsNew Feature
NOTENET-2629How copy page from one document to another to certain positionNew Feature
NOTENET-2639Fix the bug with saving as html: style’s saving is brokenBug
NOTENET-2263Images and text notes cannot be moved in OneNote application after saving a document by Aspose.NoteBug

Public API and Backward Incompatible Changes

The following public types were added:Description
Aspose.Note.Fonts.IFontsSubsystemImplement this interface if you want to control how Aspose.Note retrieves fonts when saving a document.
Aspose.Note.Fonts.FontsSubsystemBase class implementing Aspose.Note.Fonts.IFontsSubsystem interface. Provides functionality for default font and font’s substitutions. Override Aspose.Note.Fonts.FontsSubsystem.FetchFontFamily protected member function in a derived class to implement logic for retrieving of System.Drawing.FontFamily object.
Aspose.Note.Fonts.DocumentFontsSubsystemSimple implementation of Aspose.Note.Fonts.FontsSubsystem. Retrieves System.Drawing.FontFamily object from OS.
The following public types were added:Description
Aspose.Note.CompositeNode.InsertChild(System.Int32,T)Inserts the node to the specified position in the list of child nodes for this node.
Aspose.Note.CompositeNode.InsertChildrenRange(System.Int32,System.Collections.Generic.IEnumerable)Inserts the node’s sequence starting from specified position in the list of child nodes for this node.
Aspose.Note.CompositeNode.InsertChildrenRange(System.Int32,T[])Inserts the node’s sequence starting from specified position in the list of child nodes for this node.
Aspose.Note.CompositeNode.AppendChildFirst(T)Adds the node to the front of the list of child nodes for this node.
Aspose.Note.CompositeNode.AppendChildLast(T)Adds the node to the end of the list of child nodes for this node.
Aspose.Note.Saving.SaveOptions.FontsSubsystemGets or sets font’s settings to be used while saving
Aspose.Note.Fonts.DocumentFontsSubsystem.#ctor(System.Drawing.FontFamily,System.Collections.Generic.Dictionary{System.String,System.String})Initializes a new instance of the DocumentFontsSubsystem class.
Aspose.Note.Fonts.DocumentFontsSubsystem.#ctor(System.Collections.Generic.Dictionary{System.String,System.String})Initializes a new instance of the DocumentFontsSubsystem class.
Aspose.Note.Fonts.FontsSubsystem.#ctor(System.Drawing.FontFamily,System.Collections.Generic.Dictionary{System.String,System.String})Initializes a new instance of the FontsSubsystem class. 
Aspose.Note.Fonts.FontsSubsystem.#ctorInitializes a new instance of the FontsSubsystem class. 
Aspose.Note.Fonts.FontsSubsystem.DefaultFontGets or sets default font.
Aspose.Note.Fonts.FontsSubsystem.AddFontSubstitution(System.String,System.String)Adds font substitution.
Aspose.Note.Fonts.FontsSubsystem.AddFont(System.IO.Stream)Add the font.
Aspose.Note.Fonts.FontsSubsystem.AddFont(System.String)Add the font.
Aspose.Note.Fonts.FontsSubsystem.LoadFontsFromFolder(System.String)Loads all TrueType fonts from specified folder to internal collection.
Aspose.Note.Fonts.FontsSubsystem.GetFontFamily(System.String)Gets specified font family.
Aspose.Note.Fonts.FontsSubsystem.TranslateFontName(System.String)Tries to translate font name to its substitution via internal table.
Aspose.Note.Fonts.FontsSubsystem.FetchFontFamily(System.String)Override this protected member function in a derived class to implement logic for retrieving of System.Drawing.FontFamily object.
Aspose.Note.Fonts.FontsSubsystem.FindFontFamilyInInternalCollection(System.String)Tries to find font family in internal collection of GDI fonts.
Aspose.Note.Fonts.IFontsSubsystem.GetFontFamily(System.String)Gets specified font family.
The following public methods and properties are marked as obsolete:Description
Aspose.Note.CompositeNode.AppendChild(T)Adds the node to the end of the list of child nodes for this node.
The following public constants and enumerations were added:Description
Aspose.Note.Fonts.DocumentFontsSubsystem.DefaultDefault static instance of DocumentFontsSubsystem. It is used in case when Aspose.Note.Saving.SaveOptions.FontsSubsystem field is not set.