Class TreeGridToPdfConverter
Provides the base implementation to export the SfTreeGrid to PDF.
Inheritance
System.Object
TreeGridToPdfConverter
Namespace: Syncfusion.UI.Xaml.TreeGrid.Converter
Assembly: Syncfusion.SfGridConverter.WPF.dll
Syntax
public class TreeGridToPdfConverter : Object
Constructors
TreeGridToPdfConverter()
Declaration
public TreeGridToPdfConverter()
Fields
PropertyAccessProvider
Declaration
protected IPropertyAccessProvider PropertyAccessProvider
Field Value
Type |
---|
IPropertyAccessProvider |
Methods
ExportCellToPdf(SfTreeGrid, TreeNode, TreeGridColumn, PdfGridCell, TreeGridPdfExportingOptions)
Declaration
protected void ExportCellToPdf(SfTreeGrid treeGrid, TreeNode node, TreeGridColumn column, PdfGridCell pdfGridCell, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
TreeNode | node | |
TreeGridColumn | column | |
PdfGridCell | pdfGridCell | |
TreeGridPdfExportingOptions | pdfExportingOptions |
ExportHeadersToPdf(SfTreeGrid, PdfGrid, TreeGridPdfExportingOptions)
Declaration
protected virtual void ExportHeadersToPdf(SfTreeGrid treeGrid, PdfGrid pdfGrid, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
PdfGrid | pdfGrid | |
TreeGridPdfExportingOptions | pdfExportingOptions |
ExportNodesToPdf(SfTreeGrid, TreeNodes, PdfGrid, TreeGridPdfExportingOptions)
Declaration
protected virtual void ExportNodesToPdf(SfTreeGrid treeGrid, TreeNodes nodes, PdfGrid pdfGrid, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
TreeNodes | nodes | |
PdfGrid | pdfGrid | |
TreeGridPdfExportingOptions | pdfExportingOptions |
ExportNodeToPdf(SfTreeGrid, TreeNode, PdfGrid, TreeGridPdfExportingOptions)
Declaration
protected void ExportNodeToPdf(SfTreeGrid treeGrid, TreeNode node, PdfGrid pdfGrid, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
TreeNode | node | |
PdfGrid | pdfGrid | |
TreeGridPdfExportingOptions | pdfExportingOptions |
ExportRowHeight(SfTreeGrid, PdfGridRow, TreeGridPdfExportingOptions)
Declaration
protected virtual void ExportRowHeight(SfTreeGrid treeGrid, PdfGridRow row, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
PdfGridRow | row | |
TreeGridPdfExportingOptions | pdfExportingOptions |
ExportStackedHeaderToPdf(SfTreeGrid, PdfGrid, TreeGridPdfExportingOptions, StackedHeaderRow)
Declaration
protected virtual void ExportStackedHeaderToPdf(SfTreeGrid treeGrid, PdfGrid pdfGrid, TreeGridPdfExportingOptions pdfExportingOptions, StackedHeaderRow stackedHeaderRow)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
PdfGrid | pdfGrid | |
TreeGridPdfExportingOptions | pdfExportingOptions | |
StackedHeaderRow | stackedHeaderRow |
ExportToPdf(SfTreeGrid, TreeGridPdfExportingOptions)
Exports the treeGrid to PdfGrid.
Declaration
public virtual PdfDocument ExportToPdf(SfTreeGrid treeGrid, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | Specifies the SfTreeGrid. |
TreeGridPdfExportingOptions | pdfExportingOptions | Specifies the instance of class TreeGridPdfExportingOptions |
Returns
Type | Description |
---|---|
PdfDocument | Returns the instance of class PdfDocument. |
ExportToPdfGrid(SfTreeGrid, TreeGridPdfExportingOptions)
Exports the treeGrid to PdfGrid.
Declaration
public virtual PdfGrid ExportToPdfGrid(SfTreeGrid treeGrid, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | Specifies the SfDataGrid. |
TreeGridPdfExportingOptions | pdfExportingOptions | Specifies the instance of class TreeGridPdfExportingOptions |
Returns
Type | Description |
---|---|
PdfGrid | Returns the instance of PdfGrid. |
GetMaxLevel(TreeNodes)
Return the maximum level of the TreeNode.
Declaration
protected virtual void GetMaxLevel(TreeNodes nodes)
Parameters
Type | Name | Description |
---|---|---|
TreeNodes | nodes | Specifies the collection of node in SfTreeGrid. |
SetColumnWidth(SfTreeGrid, PdfGrid, TreeGridPdfExportingOptions)
Declaration
protected virtual void SetColumnWidth(SfTreeGrid treeGrid, PdfGrid pdfGrid, TreeGridPdfExportingOptions pdfExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
PdfGrid | pdfGrid | |
TreeGridPdfExportingOptions | pdfExportingOptions |