[]
Represents a class that encapsulates the control printing functionality, including page and printer settings, headers, and footers.
public class GridPrinter : IDisposable
See also the PrintGrid(string, PrintGridFlags) method.
| Name | Description |
|---|---|
| Footer | Gets or sets a string that contains the page footers. |
| FooterFont | Specifies the font to use for rendering page footers. |
| Header | Gets or sets a string that contains the page headers. |
| HeaderFont | Specifies the font to use for rendering page headers. |
| PageCount | Gets the total number of the pages in the print document. |
| PageNumber | Gets the number of the page being printed (the first page is numbered one). |
| PageOrder | Gets or sets the order of the pages when the data does not fit on one page. |
| PrintDocument | Gets the PrintDocument object that specifies page and printer settings. |
| PrintGridFlags | Gets or sets the flags that specify printing options to use with the PrintGrid(string, PrintGridFlags) method. See the PrintGridFlags enumeration for details. |
| PrintPreviewDialog | Gets a reference to the PrintPreviewDialog used to display the grid's print preview. |
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Dispose(bool) | Releases unmanaged and - optionally - managed resources. |
| ~GridPrinter() | Finalizes an instance of the GridPrinter class. |