ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Utils - ASP.NETCore API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Utils

    Inheritance
    System.Object
    Utils
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.Olap
    Assembly: Syncfusion.EJ.Pivot.dll
    Syntax
    public static class Utils

    Methods

    AppendGZip(HttpContextBase)

    Declaration
    public static void AppendGZip(this HttpContextBase context)
    Parameters
    Type Name Description
    System.Web.HttpContextBase context

    Compress(String)

    Declaration
    public static string Compress(this string data)
    Parameters
    Type Name Description
    System.String data
    Returns
    Type Description
    System.String

    CompressData(Byte[])

    Declaration
    public static string CompressData(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data
    Returns
    Type Description
    System.String

    Decompress(String)

    Declaration
    public static string Decompress(this string data)
    Parameters
    Type Name Description
    System.String data
    Returns
    Type Description
    System.String

    DecompressData(String)

    Declaration
    public static byte[] DecompressData(string cString)
    Parameters
    Type Name Description
    System.String cString
    Returns
    Type Description
    System.Byte[]

    DeserializeOlapReport(String)

    Declaration
    public static OlapReport DeserializeOlapReport(string report)
    Parameters
    Type Name Description
    System.String report
    Returns
    Type Description
    Syncfusion.Olap.Reports.OlapReport

    GetDrillData(PivotCellDescriptor, List<PositionInfo>)

    Declaration
    public static string GetDrillData(PivotCellDescriptor cellDescriptor, List<PositionInfo> infos)
    Parameters
    Type Name Description
    Syncfusion.Olap.Engine.PivotCellDescriptor cellDescriptor
    System.Collections.Generic.List<Syncfusion.Olap.Engine.PositionInfo> infos
    Returns
    Type Description
    System.String

    GetReportStream(String)

    Declaration
    public static MemoryStream GetReportStream(string clientReports)
    Parameters
    Type Name Description
    System.String clientReports
    Returns
    Type Description
    System.IO.MemoryStream

    SaveExcel(IWorkbook, HttpResponse, String)

    Declaration
    public static void SaveExcel(IWorkbook workbook, HttpResponse response, string fileName)
    Parameters
    Type Name Description
    IWorkbook workbook
    System.Web.HttpResponse response
    System.String fileName

    SavePdf(PdfDocument, HttpResponse, String)

    Declaration
    public static void SavePdf(PdfDocument pdfDoc, HttpResponse response, string fileName)
    Parameters
    Type Name Description
    PdfDocument pdfDoc
    System.Web.HttpResponse response
    System.String fileName

    SaveWord(WordDocument, HttpResponse, String)

    Declaration
    public static void SaveWord(WordDocument document, HttpResponse response, string fileName)
    Parameters
    Type Name Description
    WordDocument document
    System.Web.HttpResponse response
    System.String fileName

    SerializeOlapReport(OlapReport)

    Declaration
    public static string SerializeOlapReport(OlapReport report)
    Parameters
    Type Name Description
    Syncfusion.Olap.Reports.OlapReport report
    Returns
    Type Description
    System.String

    SetPaging(String, String)

    Declaration
    public static OlapReport SetPaging(string currentReport, string pagingInfo)
    Parameters
    Type Name Description
    System.String currentReport
    System.String pagingInfo
    Returns
    Type Description
    Syncfusion.Olap.Reports.OlapReport
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved