Browse our Products

Aspose.Note for .NET 18.1 Release Notes

Major Features

This version includes new feature of saving document to stream in HTML format. This includes:

Features and Improvements

KeySummaryCategory
NOTENET-2247Support saving to stream in html format New Feature

Public API and Backward Incompatible Changes

Added Public TypesDescription
Aspose.Note.Saving.Html.CssSavingArgsProvides data for CssSaving event.
Aspose.Note.Saving.Html.FontSavingArgsProvides data for FontSaving event.
Aspose.Note.Saving.Html.ImageSavingArgsProvides data for ImageSaving event.
Aspose.Note.Saving.Html.ResourceSavingArgsProvides data for ResourceSaving event.
Aspose.Note.Saving.Html.ICssSavingCallbackImplement this interface if you want to control how Aspose.Note saves CSS (Cascading Style Sheet) when saving a document to HTML.
Aspose.Note.Saving.Html.IFontSavingCallbackImplement this interface if you want to control how Aspose.Note saves fonts when saving a document to HTML.
Aspose.Note.Saving.Html.IImageSavingCallbackImplement this interface if you want to control how Aspose.Note saves images when saving a document to HTML.
Aspose.Note.Saving.Html.ResourceExportTypeEnumerates ways a resource can be exported
Aspose.Note.Saving.Html.HtmlImageTypeEnumerates HTML image types
Aspose.Note.Saving.Html.FontFaceTypeEnumerates font face types
Added public methods and propertiesDescription
Aspose.Note.Saving.Html.FontSavingArgs.FontFamilyName Gets the family name of the font to be saved
Aspose.Note.Saving.Html.FontSavingArgs.IsBoldGets a value indicating whether font under saving is bold.
Aspose.Note.Saving.Html.FontSavingArgs.IsItalicGets a value indicating whether font under saving is italic.
Aspose.Note.Saving.Html.ImageSavingArgs.ImageTypeGets type of image to be saved.
Aspose.Note.Saving.Html.ResourceSavingArgs.DocumentGets the saving document.
Aspose.Note.Saving.Html.ResourceSavingArgs.FileNameGets the suggested filename to store resource.
Aspose.Note.Saving.Html.ResourceSavingArgs.StreamGets or sets the stream used to store the resource.
Aspose.Note.Saving.Html.ResourceSavingArgs.KeepStreamOpenGets or sets a value indicating whether keep stream open.
Aspose.Note.Saving.Html.ResourceSavingArgs.UriGets or sets the uri to access stored resource.
Aspose.Note.Saving.Html.ICssSavingCallback.CssSaving(Aspose.Note.Saving.Html.CssSavingArgs)Implement this interface if you want to control how Aspose.Note saves CSS (Cascading Style Sheet) when saving a document to HTML.
Aspose.Note.Saving.Html.IFontSavingCallback.FontSaving(Aspose.Note.Saving.Html.FontSavingArgs)Implement this interface if you want to control how Aspose.Note saves fonts when saving a document to HTML.
Aspose.Note.Saving.Html.IImageSavingCallback.ImageSaving(Aspose.Note.Saving.Html.ImageSavingArgs)Implement this interface if you want to control how Aspose.Note saves images when saving a document to HTML.
Aspose.Note.Saving.HtmlSaveOptions.ExportFontsGets or sets the way fonts are exported.
Aspose.Note.Saving.HtmlSaveOptions.ExportCssGets or sets  the way css is exported.
Aspose.Note.Saving.HtmlSaveOptions.ExportImagesGets or sets  the way images are exported.
Aspose.Note.Saving.HtmlSaveOptions.FontFaceTypesGets or sets the font face types.
Aspose.Note.Saving.HtmlSaveOptions.CssSavingCallbackGets or sets the callback that is called to create resource to store CSS.
Aspose.Note.Saving.HtmlSaveOptions.FontSavingCallbackGets or sets the callback that is called to create resource to store font.
Aspose.Note.Saving.HtmlSaveOptions.ImageSavingCallbackGets or sets the callback that is called to create resource to store font.
Added public constants and enumerationsDescription
Aspose.Note.Saving.Html.ResourceExportType.NoExportThe resource is skipped
Aspose.Note.Saving.Html.ResourceExportType.ExportAsFileThe resource is exported as separate file
Aspose.Note.Saving.Html.ResourceExportType.ExportEmbeddedThe resource exported as base64-encoded value into HTML page
Aspose.Note.Saving.Html.HtmlImageType.JpegJPEG JFIF
Aspose.Note.Saving.Html.HtmlImageType.PngPortable Network Graphics
Aspose.Note.Saving.Html.HtmlImageType.BmpWindows Bitmap
Aspose.Note.Saving.Html.HtmlImageType.GifGif image format
Aspose.Note.Saving.Html.HtmlImageType.TiffTiff image format
Aspose.Note.Saving.Html.HtmlImageType.SvgSVG image format
Aspose.Note.Saving.Html.HtmlImageType.SvgzCompressed SVG
Aspose.Note.Saving.Html.HtmlImageType.UnknownUnknown format
Aspose.Note.Saving.Html.FontFaceType.NotSpecifiedFont type is not spefied
Aspose.Note.Saving.Html.FontFaceType.TtfThe true type fot
Aspose.Note.Saving.Html.FontFaceType.EotThe eot font
Aspose.Note.Saving.Html.FontFaceType.WoffThe woff font