[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.GridPrinter

GridPrinter Class

Represents a class that encapsulates the control printing functionality, including page and printer settings, headers, and footers.

Inheritance
GridPrinter
Implements
Namespace: C1.Win.C1FlexGrid
Assembly: C1.Win.C1FlexGrid.4.8.dll
Syntax
public class GridPrinter : IDisposable
Remarks

See also the PrintGrid(string, PrintGridFlags) method.

Properties

Name Description

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.

Methods

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.