Xceed DataGrid for WPF v7.2 Documentation
ExportToXps Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : ExportToXps Method
Exports the grid to an XPS document that has the specified file name and using the provided page size.
Exports the grid to an XPS document. This feature is available only in the Professional Edition
Overload List
OverloadDescription
Exports the grid to an XPS document that has the specified file name and using the provided page size.  
Exports the grid to an XPS document that has the specified file name and page size, as well as indicating whether the progress window is displayed.  
Exports the grid to an XPS document that has the specified file name and using the provided page size and imageable area, as well as indicating whether the progress window is displayed.  
Exports the grid to an XPS document that has the specified file name and using the provided page size, page range, and imageable area, as well as indicating whether the progress window is displayed.  
Exports the grid to an XPS document that has the specified file name and using the provided page size, page range, imageable area, as well as indicating whether the progress window is displayed.  
Exports the grid to an XPS document that has the specified file name and using the provided page size, page range, imageable area, compression option, and providing the callback to invoke during the process, as well as indicating whether the progress window is displayed.  
Exports the grid as an XPS document to the specified stream using the provided page size.  
Exports the grid as an XPS document to the specified stream using the provided page and preview sizes.  
Exports the grid as an XPS document to the specified stream and page size, as well as indicating whether the progress window is displayed.  
Exports the grid as an XPS document to the specified stream using the provided page size and imageable area, as well as indicating whether the progress window is displayed.  
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.  
Exports the grid as an XPS document to the specified stream using the provided page size, page range, imageable area, compression option, as well as indicating whether the progress window is displayed.  
Exports the grid as an XPS document to the specified stream using the provided page size, page range, imageable area, compression option, and providing the callback to invoke during the process, as well as indicating whether the progress window is displayed.  
Exceptions
ExceptionDescription
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

See Also

Reference

DataGridControl Class
DataGridControl Members