Class GridPdfExport
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.EJ.Export
Assembly: Syncfusion.EJ.Export.dll
Syntax
public class GridPdfExport : IEJExport
Constructors
GridPdfExport()
Declaration
public GridPdfExport()
Fields
_emptyText
Declaration
public string _emptyText
Field Value
Type | Description |
---|---|
System.String |
Properties
AutoFormat
Gets or sets the AutoFormat of the file.
Declaration
public AutoFormat AutoFormat { get; set; }
Property Value
Type | Description |
---|---|
AutoFormat | The AutoFormat of the file. |
Bounds
Declaration
public RectangleF Bounds { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.RectangleF |
CheckRTLText
Gets or sets the RTL check for RTL languages.
Declaration
public bool CheckRTLText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | CheckRTL boolean value |
DataSource
Gets or sets the datasource of the grid.
Declaration
public IEnumerable DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The Datasource of the grid. |
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 documentoption of the file.
Declaration
public DocumentOption DocumentOption { get; set; }
Property Value
Type | Description |
---|---|
DocumentOption | The documentoption of the file. |
EmptyText
Gets or sets the Empty record text of the file.
Declaration
public string EmptyText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the file. |
ExportType
Gets or sets the name of the file.
Declaration
public ExportType ExportType { get; set; }
Property Value
Type | Description |
---|---|
ExportType | The name of the file. |
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 for saving file.
Declaration
public string FilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The File Path for saving file in local. |
FontWeight
Gets or sets the FontWeight.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
Type | Description |
---|---|
FontWeight | FontWeight. |
HeaderText
Gets or sets the Header Text for multiple export.
Declaration
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String | HeaderText for multiple export. |
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 the IsAutoFit for grid.
Declaration
public bool IsAutoFit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsAutoFit in file. |
IsCustomCommandColumnIncude
Gets or sets the IsCustomCommandColumnIncude for grid.
Declaration
public bool IsCustomCommandColumnIncude { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsCustomCommandColumnIncude in file. |
IsHideColumnIncude
Gets or sets the IsHideColumnInclude for grid.
Declaration
public bool IsHideColumnIncude { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsHideColumnInclude in file. |
IsSummaryRow
Gets or sets the IsSummaryRow included in the file.
Declaration
public bool IsSummaryRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsSummaryRow in file. |
IsTemplateColumnIncluded
Gets or sets the IsTemplateColumnIncluded included in the file.
Declaration
public bool IsTemplateColumnIncluded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsTemplateColumnIncluded included in file. |
LocalSave
Gets or sets the is file locally saved.
Declaration
public bool LocalSave { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The LocalSave option for file. |
PdfDocument
Declaration
public PdfDocument PdfDocument { get; set; }
Property Value
Type | Description |
---|---|
PdfDocument |
PdfVersion
Gets or sets the Pdf version.
Declaration
public PdfVersion PdfVersion { get; set; }
Property Value
Type | Description |
---|---|
PdfVersion | The Pdf version. |
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 |
TargetPage
Declaration
public PdfPage TargetPage { get; set; }
Property Value
Type | Description |
---|---|
PdfPage |
Theme
Gets or sets the Theme of the file.
Declaration
public string Theme { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Theme of the file. |
Unicode
Declaration
public bool Unicode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
CopyBorders(GridTableCellType, PdfGridCell)
Copies the borders.
Declaration
protected void CopyBorders(GridTableCellType style, PdfGridCell cell)
Parameters
Type | Name | Description |
---|---|---|
GridTableCellType | style | The style. |
PdfGridCell | cell | The cell |
CopyStyles(GridTableCellType, PdfGridCell)
Declaration
protected void CopyStyles(GridTableCellType style, PdfGridCell cell)
Parameters
Type | Name | Description |
---|---|---|
GridTableCellType | style | |
PdfGridCell | cell |
ExecuteResult(GridProperties, Object)
Declaration
public void ExecuteResult(GridProperties GridModel, object dataSource)
Parameters
Type | Name | Description |
---|---|---|
GridProperties | GridModel | |
System.Object | dataSource |
Export(GridProperties, Object, Boolean)
Declaration
public PdfDocument Export(GridProperties GridModel, object dataSource, bool multipleExport)
Parameters
Type | Name | Description |
---|---|---|
GridProperties | GridModel | |
System.Object | dataSource | |
System.Boolean | multipleExport |
Returns
Type | Description |
---|---|
PdfDocument |
ExportRecordRow(String, PdfGridRow)
Exports the record row.
Declaration
protected void ExportRecordRow(string value, PdfGridRow row)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
PdfGridRow | row |
InitializePdf(PdfDocument, String)
Initializes the excel.
Declaration
public void InitializePdf(PdfDocument pdfDocument, string headerText)
Parameters
Type | Name | Description |
---|---|---|
PdfDocument | pdfDocument | The Pdf document |
System.String | headerText | The headerText |
SaveLocal(String)
Declaration
public void SaveLocal(string filepath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filepath |
SetFontStyles(PdfGridCell)
Declaration
protected void SetFontStyles(PdfGridCell cell)
Parameters
Type | Name | Description |
---|---|---|
PdfGridCell | cell |
SetTableOptions(TableOptions, Int32, Int32, PdfGridRow)
Sets the table options.
Declaration
protected void SetTableOptions(TableOptions tableOptions, int Idx, int value, PdfGridRow row)
Parameters
Type | Name | Description |
---|---|---|
TableOptions | tableOptions | The table options. |
System.Int32 | Idx | The idx. |
System.Int32 | value | The value. |
PdfGridRow | row |