Syncfusion.GridHelperClasses.Windows
Members  Example 


Syncfusion.GridHelperClasses Namespace : GridWordConverter Class

GridWordConverter Class

Implements the functionalities for exporting the grid to word file.
Syntax
'Declaration
 
<ToolboxItemAttribute(False)>
Public Class GridWordConverter 
   Inherits GridWordConverterBase
'Usage
 
Dim instance As GridWordConverter
[ToolboxItem(false)]
public class GridWordConverter : GridWordConverterBase 
Remarks
It has support for header and footer.
Example
This example shows how to export the grid to word document.
GridWordConverter wordConverter = new GridWordConverter();
            
// Enabling the footer.
wordConverter.ShowFooter = true;
            
//Enabling the header.
wordConverter.ShowHeader = true;
            
wordConverter.GridToWord("Sample.docx", this.gridControl1);
Dim wordConverter As GridWordConverter = New GridWordConverter
            
' Enabling the footer.
wordConverter.ShowFooter = true
'Enabling the header.
wordConverter.ShowHeader = true
            
wordConverter.GridToWord("Sample.docx", Me.gridControl1)
Inheritance Hierarchy

System.Object
   Syncfusion.GridHelperClasses.GridWordConverterBase
      Syncfusion.GridHelperClasses.GridWordConverter

AssemblyVersion

Syncfusion.GridHelperClasses.Windows: 17.3460.0.26

See Also