Exports the grid as an XPS document to the specified stream using the provided page size, page range, and imageable area, as well as indicating whether the progress window is displayed.
'Usage
Dim instance As DataGridControl
Dim stream As Stream
Dim pageSize As Size
Dim imageableArea As Rect
Dim pageRange As PageRange
Dim showProgressWindow As Boolean
Dim value As Boolean
value = instance.ExportToXps(stream, pageSize, imageableArea, pageRange, showProgressWindow)
Can be thrown in XBAP if FullTrust permissions are not used.
Remarks
The appearance of a grid when it is printed or exported is determined by the PrintView property.
Requirements
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2