Class GridPrintTablePaginator
A helper class to support creation of multiple page elements from a single grid table.
Inheritance
System.Object
GridPrintTablePaginator
Namespace: Syncfusion.Windows.Documents
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridPrintTablePaginator : DocumentPaginator
Constructors
GridPrintTablePaginator(Size, IGridPrintPaginator, PrintDialog)
Initializes a new GridPrintTablePaginator.
Declaration
public GridPrintTablePaginator(Size pageSize, IGridPrintPaginator printPaginator, PrintDialog printDialog)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | pageSize | Page size. |
IGridPrintPaginator | printPaginator | The IGridPrintPaginator instance. |
System.Windows.Controls.PrintDialog | printDialog |
Properties
IsPageCountValid
Specifies whether the page count is valid.
Declaration
public override bool IsPageCountValid { get; }
Property Value
Type |
---|
System.Boolean |
PageCount
Gets the number of pages.
Declaration
public override int PageCount { get; }
Property Value
Type |
---|
System.Int32 |
PageSize
Gets or sets the page size.
Declaration
public override Size PageSize { get; set; }
Property Value
Type |
---|
System.Windows.Size |
PrintPaginator
Gets the print paginator.
Declaration
public IGridPrintPaginator PrintPaginator { get; }
Property Value
Type |
---|
IGridPrintPaginator |
Source
Gets the source object that performs tha actual content pagination.
Declaration
public override IDocumentPaginatorSource Source { get; }
Property Value
Type |
---|
System.Windows.Documents.IDocumentPaginatorSource |
Methods
GetPage(Int32)
Returns the page whose page number is given.
Declaration
public override DocumentPage GetPage(int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber | The page number. |
Returns
Type | Description |
---|---|
System.Windows.Documents.DocumentPage | Document page. |