Class GridWordExport
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.EJ.Export
Assembly: Syncfusion.EJ.Export.dll
Syntax
public class GridWordExport : IEJExport
Constructors
GridWordExport()
Declaration
public GridWordExport()
Fields
_emptyText
Declaration
public string _emptyText
Field Value
Type | Description |
---|---|
System.String |
Properties
AutoFormat
Gets or sets the AutoFormat.
Declaration
public AutoFormat AutoFormat { get; set; }
Property Value
Type | Description |
---|---|
AutoFormat | AutoFormat. |
DataSource
Gets or sets the DataSource.
Declaration
public IEnumerable DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | DataSource. |
Document
Gets or sets the name of the file.
Declaration
public object Document { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The name of the file. |
DocumentOption
Gets or sets the name of the file.
Declaration
public DocumentOption DocumentOption { get; set; }
Property Value
Type | Description |
---|---|
DocumentOption | The name of the file. |
DocumentVersion
Gets or sets the excel version.
Declaration
public DocumentVersion DocumentVersion { get; set; }
Property Value
Type | Description |
---|---|
DocumentVersion | The excel version. |
EmptyText
Gets or sets Grid Empty Text.
Declaration
public string EmptyText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Empty Text. |
FileName
Gets or sets the name of the file.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the file. |
FilePath
Gets or sets the File Path.
Declaration
public string FilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The path of the file. |
FontWeight
Gets or sets the FontWeight.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
Type | Description |
---|---|
FontWeight | FontWeight. |
Format
Gets or sets the format.
Declaration
public FormatType Format { get; set; }
Property Value
Type | Description |
---|---|
FormatType | The format. |
HeaderText
Gets or sets the HeaderText.
Declaration
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The format. |
IncludeChildGrid
Gets or sets the IncludeChildGrid to either included/exclude the child Grid.
Declaration
public bool IncludeChildGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true/false |
IncludeDetailRow
Declaration
public bool IncludeDetailRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsAutoFit
Gets or sets IsAutoFit.
Declaration
public bool IsAutoFit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsAutoFit. |
IsCustomCommandColumnIncude
Gets or sets IsHideColumnIncude.
Declaration
public bool IsCustomCommandColumnIncude { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsHideColumnIncude. |
IsHideColumnIncude
Gets or sets IsHideColumnIncude.
Declaration
public bool IsHideColumnIncude { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsHideColumnIncude. |
IsSummaryRow
Gets or sets the name of the file.
Declaration
public bool IsSummaryRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The name of the file. |
IsTemplateColumnIncluded
Declaration
public bool IsTemplateColumnIncluded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LocalSave
Gets or sets the Local Save.
Declaration
public bool LocalSave { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Local Save. |
QueryCustomSummaryInfo
Declaration
public Func<IQueryable, SummaryColumn, object> QueryCustomSummaryInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Linq.IQueryable, SummaryColumn, System.Object> |
SourceType
Declaration
public Type SourceType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Theme
Gets or sets the name of the Theme.
Declaration
public string Theme { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the Theme. |
WordDocument
Gets or sets the word document.
Declaration
public IWordDocument WordDocument { get; set; }
Property Value
Type | Description |
---|---|
IWordDocument | The word document |
Methods
CopyBorders(GridTableCellType, Int32, Int32)
Copies the borders.
Declaration
protected void CopyBorders(GridTableCellType style, int rowIdx, int colIdx)
Parameters
Type | Name | Description |
---|---|---|
GridTableCellType | style | The style. |
System.Int32 | rowIdx | |
System.Int32 | colIdx |
CopyStyles(GridTableCellType, Int32, Int32)
Declaration
protected void CopyStyles(GridTableCellType style, int rowIdx, int colIdx)
Parameters
Type | Name | Description |
---|---|---|
GridTableCellType | style | |
System.Int32 | rowIdx | |
System.Int32 | colIdx |
ExecuteResult(GridProperties, Object)
Declaration
public IWordDocument ExecuteResult(GridProperties GridModel, object dataSource)
Parameters
Type | Name | Description |
---|---|---|
GridProperties | GridModel | |
System.Object | dataSource |
Returns
Type | Description |
---|---|
IWordDocument |
Export(GridProperties, Object, Boolean)
Declaration
public IWordDocument Export(GridProperties gridModel, object dataSource, bool multipleExport)
Parameters
Type | Name | Description |
---|---|---|
GridProperties | gridModel | |
System.Object | dataSource | |
System.Boolean | multipleExport |
Returns
Type | Description |
---|---|
IWordDocument |
ExportRecordRow(String, GridTableCellType)
Exports the record row.
Declaration
protected void ExportRecordRow(string value, GridTableCellType style)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
GridTableCellType | style |
InitializeWord(GridProperties, IWordDocument, String)
Initializes the excel.
Declaration
public void InitializeWord(GridProperties model, IWordDocument document, string headerText)
Parameters
Type | Name | Description |
---|---|---|
GridProperties | model | The model. |
IWordDocument | document | |
System.String | headerText |
SaveLocal(String)
Declaration
public void SaveLocal(string filepath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filepath |
SetFontStyles(IWTextRange)
Declaration
protected void SetFontStyles(IWTextRange textRange)
Parameters
Type | Name | Description |
---|---|---|
IWTextRange | textRange |
SetTableOptions(TableOptions, Int32, Int32)
Sets the table options.
Declaration
protected void SetTableOptions(TableOptions tableOptions, int Idx, int value)
Parameters
Type | Name | Description |
---|---|---|
TableOptions | tableOptions | The table options. |
System.Int32 | Idx | The idx. |
System.Int32 | value | The value. |