Syncfusion.GridHelperClasses.Windows


Syncfusion.GridHelperClasses Namespace > GridPDFConverter Class > ExportToPdfWithMerge Method : ExportToPdfWithMerge(PdfDocument,GridControlBase) Method
The PDF document to merge the grid content.
The grid control to be merged with PDF document.

ExportToPdfWithMerge(PdfDocument,GridControlBase) Method

Exports grid with huge data in to two or more PDF documents internally and Merges them into single document(pdfDocument). This method can be used to handle "out of memory exception" that happens when huge amount of data (more than 60k records) is exported to PDF.
Syntax
'Declaration
 
Public Overloads Sub ExportToPdfWithMerge( _
   ByRef pdfDocument As PdfDocument, _
   ByVal grid As GridControlBase _
) 
'Usage
 
Dim instance As GridPDFConverter
Dim pdfDocument As PdfDocument
Dim grid As GridControlBase
 
instance.ExportToPdfWithMerge(pdfDocument, grid)
public void ExportToPdfWithMerge( 
   ref PdfDocument pdfDocument,
   GridControlBase grid
)

Parameters

pdfDocument
The PDF document to merge the grid content.
grid
The grid control to be merged with PDF document.
AssemblyVersion

Syncfusion.GridHelperClasses.Windows: 18.1460.0.36

See Also