Class SfDataGridToPdfConverter
Provides the base implementation to export the SfDataGrid to PDF.
Inheritance
System.Object
SfDataGridToPdfConverter
Assembly: Syncfusion.SfGridConverter.UWP.dll
Syntax
public class SfDataGridToPdfConverter : Object
Constructors
SfDataGridToPdfConverter()
Declaration
public SfDataGridToPdfConverter()
Methods
ExportDetailsViewDataGridToPdf(SfDataGrid, PdfGrid, ICollectionViewAdv, PdfExportingOptions, Group)
Declaration
protected virtual void ExportDetailsViewDataGridToPdf(SfDataGrid sourceDataGrid, PdfGrid pdfGrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions, Group group)
Parameters
ExportDetailsViewToPDF(SfDataGrid, PdfGrid, PdfExportingOptions, Object, IPropertyAccessProvider, Group)
Declaration
protected virtual void ExportDetailsViewToPDF(SfDataGrid parentDataGrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions, object rec, IPropertyAccessProvider propertyAccessProvider, Group group)
Parameters
ExportGroupCaptionToPdf(SfDataGrid, PdfGrid, ICollectionViewAdv, PdfExportingOptions, Group)
Declaration
protected virtual void ExportGroupCaptionToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions, Group group)
Parameters
ExportGroupToPdf(SfDataGrid, PdfGrid, ICollectionViewAdv, PdfExportingOptions, Group)
Declaration
protected virtual void ExportGroupToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions, Group group)
Parameters
Declaration
protected virtual void ExportHeadersToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions)
Parameters
ExportImageToPdf(SfDataGrid, PdfGridCell, PdfExportingOptions, Object, IPropertyAccessProvider, GridColumn)
Declaration
protected virtual void ExportImageToPdf(SfDataGrid sfgrid, PdfGridCell pdfGridCell, PdfExportingOptions pdfExportingOptions, object record, IPropertyAccessProvider propertyAccessProvider, GridColumn column)
Parameters
ExportRecordCellToPdf(SfDataGrid, PdfGridCell, PdfExportingOptions, Object, IPropertyAccessProvider, GridColumn)
Declaration
protected virtual void ExportRecordCellToPdf(SfDataGrid sfgrid, PdfGridCell pdfGridCell, PdfExportingOptions pdfExportingOptions, object record, IPropertyAccessProvider propertyAccessProvider, GridColumn column)
Parameters
ExportRecordsToPdf(SfDataGrid, PdfGrid, PdfExportingOptions, IEnumerable, IPropertyAccessProvider, Group)
Declaration
protected virtual void ExportRecordsToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions, IEnumerable records, IPropertyAccessProvider propertyAccessProvider, Group group)
Parameters
ExportRecordToPdf(SfDataGrid, PdfGrid, PdfExportingOptions, Object, IPropertyAccessProvider, Group)
Declaration
protected virtual void ExportRecordToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions, object record, IPropertyAccessProvider propertyAccessProvider, Group group)
Parameters
Declaration
protected virtual void ExportStackedHeaderToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions, StackedHeaderRow stackedHeaderRow)
Parameters
ExportSummariesToPdf(SfDataGrid, PdfGrid, ICollectionViewAdv, PdfExportingOptions, Group)
Declaration
protected virtual void ExportSummariesToPdf(SfDataGrid sfGrid, PdfGrid pdfGrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions, Group group)
Parameters
ExportSummaryCellToPdf(SfDataGrid, PdfGridCell, PdfExportingOptions, ExportCellType, String, Object, String)
Declaration
protected virtual void ExportSummaryCellToPdf(SfDataGrid sfGrid, PdfGridCell pdfGridCell, PdfExportingOptions pdfExportingOptions, ExportCellType exportCellType, string summaryDisplayText, object exportNodeEntry, string columnName)
Parameters
ExportSummaryRecordToPdf(SfDataGrid, PdfGrid, ICollectionViewAdv, PdfExportingOptions, Group, SummaryRecordEntry, ExportCellType, PdfGridCellStyle)
Declaration
protected virtual void ExportSummaryRecordToPdf(SfDataGrid sfGrid, PdfGrid pdfGrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions, Group group, SummaryRecordEntry summaryRecordEntry, ExportCellType cellType, PdfGridCellStyle cellStyle)
Parameters
ExportToPdf(SfDataGrid)
Exports the dataGrid to PDF.
Declaration
public virtual PdfDocument ExportToPdf(SfDataGrid sfgrid)
Parameters
Type |
Name |
Description |
SfDataGrid |
sfgrid |
Specifies the SfDataGrid.
|
Returns
ExportToPdf(SfDataGrid, ICollectionViewAdv, PdfExportingOptions)
Exports the dataGrid to PdfGrid.
Declaration
public virtual PdfDocument ExportToPdf(SfDataGrid sfgrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions)
Parameters
Returns
ExportToPdf(SfDataGrid, PdfExportingOptions)
Exports the dataGrid to PDF.
Declaration
public virtual PdfDocument ExportToPdf(SfDataGrid sfgrid, PdfExportingOptions pdfExportingOptions)
Parameters
Returns
ExportToPdf(SfDataGrid, ObservableCollection<Object>, PdfExportingOptions)
Exports the dataGrid to PDF.
Declaration
public virtual PdfDocument ExportToPdf(SfDataGrid sfgrid, ObservableCollection<object> selectedItems, PdfExportingOptions pdfExportingOptions)
Parameters
Type |
Name |
Description |
SfDataGrid |
sfgrid |
Specifies the SfDataGrid.
|
System.Collections.ObjectModel.ObservableCollection<System.Object> |
selectedItems |
Specifies the selected items.
|
PdfExportingOptions |
pdfExportingOptions |
Specifies the instance of class PdfExportingOptions
|
Returns
ExportToPdfGrid(SfDataGrid, ICollectionViewAdv, PdfExportingOptions)
Exports the dataGrid to PdfGrid.
Declaration
public virtual PdfGrid ExportToPdfGrid(SfDataGrid sfgrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions)
Parameters
Returns
ExportToPdfGrid(SfDataGrid, ObservableCollection<Object>, PdfExportingOptions)
Exports the dataGrid to PdfGrid.
Declaration
public virtual PdfGrid ExportToPdfGrid(SfDataGrid sfgrid, ObservableCollection<object> selectedItems, PdfExportingOptions pdfExportingOptions)
Parameters
Type |
Name |
Description |
SfDataGrid |
sfgrid |
Specifies the SfDataGrid.
|
System.Collections.ObjectModel.ObservableCollection<System.Object> |
selectedItems |
Specifies the selected items.
|
PdfExportingOptions |
pdfExportingOptions |
Specifies the instance of class PdfExportingOptions
|
Returns
ExportUnboundRowCellToPdf(SfDataGrid, PdfGridCell, PdfExportingOptions, GridUnBoundRow, GridColumn)
Declaration
protected virtual void ExportUnboundRowCellToPdf(SfDataGrid sfgrid, PdfGridCell pdfGridCell, PdfExportingOptions pdfExportingOptions, GridUnBoundRow unBoundRow, GridColumn column)
Parameters
ExportUnboundRowsToPdf(SfDataGrid, PdfGrid, PdfExportingOptions, UnBoundRowsPosition, Boolean, ObservableCollection<GridUnBoundRow>)
Declaration
protected virtual void ExportUnboundRowsToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions, UnBoundRowsPosition position, bool belowSummary, ObservableCollection<GridUnBoundRow> unBoundRows = null)
Parameters
ExportUnboundRowToPdf(SfDataGrid, PdfGrid, PdfExportingOptions, GridUnBoundRow)
Declaration
protected virtual void ExportUnboundRowToPdf(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions, GridUnBoundRow unBoundRow)
Parameters
InitializeCellStyle(SfDataGrid, PdfGrid, ICollectionViewAdv, PdfExportingOptions)
Declaration
protected virtual void InitializeCellStyle(SfDataGrid sfgrid, PdfGrid pdfGrid, ICollectionViewAdv view, PdfExportingOptions pdfExportingOptions)
Parameters
SetColumnWidth(SfDataGrid, PdfGrid, PdfExportingOptions)
Declaration
protected virtual void SetColumnWidth(SfDataGrid sfgrid, PdfGrid pdfGrid, PdfExportingOptions pdfExportingOptions)
Parameters
Extension Methods