Common Changes
- As a part of NET Standard support, we are deprecating the existing packages and adding new packages as mentioned below. So the older packages are no longer shipped along with Essential Studio release.
Deprecated packages | New packages |
---|---|
Syncfusion.Compression.AspNet.Core | Syncfusion.Compression.Portable |
Syncfusion.DocIO.AspNet.Core | Syncfusion.DocIO.Portable |
Syncfusion.OfficeChart.AspNet.Core | Syncfusion.OfficeChart.Portable |
Syncfusion.Pdf.AspNet.Core | Syncfusion.Pdf.Portable |
Syncfusion.Presentation.AspNet.Core | Syncfusion.Presentation.Portable |
Syncfusion.XlsIO.AspNet.Core | Syncfusion.XlsIO.Portable |
DocIO
As a part of NET Standard support, we have made below changes.
-
Open(string filename)
method ofWordDocument
class has been removed, instead make use ofOpen(Stream inputFileStream, FormatType outputFileFormatType)
method. -
Save(string filename)
method ofWordDocument
class has been removed, instead make use ofSave(Stream OutputFileStream, FormatType outputFileFormatType)
method. -
HtmlExportCssStyleSheetType
, andHtmlExportCssStyleSheetFileName
properties ofSaveOptions
class has been removed and now support only inline & internal CSS in HTML export. -
HTMLExportImagesFolder
property ofSaveOptions
class has been removed, instead make use ofImageNodeVisited
event ofSaveOptions
to save the images in the specified path and use the saved path as image source during HTML export. - In HTML import, loading image from absolute/web path has been removed. Instead make use of
ImageNodeVisited
event ofHTMLImportSettings
class to load image from the specified path. -
IsValidXHTML(string html, XHTMLValidationType type)
andIsValidXHTML(string html, XHTMLValidationType type, out string exceptionMessage)
methods ofWTextBody
class has been removed, instead make use of this extension in your application to check the XHTML 1.0 validation. Refer this sample for more details.
As a part of NET Standard support, we have made below changes.
- PdfDocument.Save(string filename) has been removed, instead make use of PdfDocument.Save(Stream outputFileStream) method.
- PdfLoadedDocument.Save(string filename) has been removed, instead make use of PdfLoadedDocument.Save(Stream outputFileStream) method.
Presentation
As a part of NET Standard support, we have made below changes.
-
Open(string filename)
method inPresentation
class has been removed, instead make use ofOpen(Stream inputFileStream)
method. -
Save(string filename)
method inPresentation
class has been removed, instead make use ofSave(Stream outputFileStream)
method.
XlsIO
As a part of NET Standard support, we have made below changes.
- Overloads with file path parameter in
Open
andSave
methods has been removed. The same can be achieved with “stream” parameter. - Scope of
SortedList<Tkey,Tvalue>
class is changed from public to internal. - Scope of
PropertyInfoExtension
class and its extension methods are changed from public to internal. - Namespace of
SortedList<Tkey,Tvalue>
class is changed fromSystem.Collections.Generic
toSyncfusion.XlsIO.Implementation
- Namespace of
ICloneable
interface is changed fromSystem
to Syncfusion.CompoundFile.XlsIO. - Namespace for
RichTextReader
class is given as Syncfusion.XlsIO. -
Syncfusion.Calculate
namespace is changed asSyncfusion.XlsIO.Calculate
.