'Declaration Public Overloads Function ExportToXps( _ ByVal fileName As String, _ ByVal pageSize As Size _ ) As Boolean
'Usage Dim instance As DataGridControl Dim fileName As String Dim pageSize As Size Dim value As Boolean value = instance.ExportToXps(fileName, pageSize)
Parameters
- fileName
- A string representing the fully-qualified file name of the XPS document to which the grid will be exported. If the file exists, it will be overwritten.
- pageSize
- A Size structure that indicates the size of the pages, including the printer margins.