WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridWordExport - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridWordExport

    This class exports the PivotGrid content to Word document with the applied style.

    Inheritance
    System.Object
    GridWordExport
    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.Windows.Controls.PivotGrid.Converter
    Assembly: Syncfusion.PivotGridConverter.Wpf.dll
    Syntax
    public class GridWordExport

    Constructors

    GridWordExport(PivotGridControl)

    Initializes a new instance of the GridWordExport class.

    Declaration
    public GridWordExport(PivotGridControl gridControl)
    Parameters
    Type Name Description
    PivotGridControl gridControl

    This parameter holds the PivotGrid control object which is utilized for Word exporting.

    Properties

    GridControl

    Gets the PivotGrid control to export its content to Word.

    Declaration
    public PivotGridControl GridControl { get; }
    Property Value
    Type Description
    PivotGridControl

    Methods

    Export(String)

    Exports the PivotGrid to Word document with the specified file name.

    Declaration
    public void Export(string filename)
    Parameters
    Type Name Description
    System.String filename

    Provides specific file name to the exported Word document.

    Export(String, Boolean)

    Exports the PivotGrid to Word document with the specified file name.

    Declaration
    public void Export(string fileName, bool ignoreStyles)
    Parameters
    Type Name Description
    System.String fileName

    Provides specific file name to the exported Word document.

    System.Boolean ignoreStyles

    Provides whether the cell styles can be ignored from exporting.

    Remarks

    When exporting the PivotGrid control with huge amount of rows and columns, Call this method with passing the "ignoreStyles" is true. Then the exporting will be done quickly.

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved