[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Printing.Printer

Printer Class

This is a cross-platform wrapper around GDI+ Printer.

Inheritance
Printer
Namespace: GrapeCity.ActiveReports.Printing
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class Printer

Properties

Name Description
DefaultPageSettings

Gets page settings that are used as defaults for all pages to be printed.

DocumentName

Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.

Landscape

Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.

OriginAtMargins

Gets or sets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page.

PaperHeight

Page height in inches.

PaperKind

Gets the type of paper.

PaperSize

Gets or sets the paper size for the page. The size is specified in hundredths of an inch.

PaperWidth

Page width in inches.

PrinterName

Gets or sets the name of the printer to use.

PrinterSettings

Gets a PrinterSettings that specifies where and how the document is printed.

Methods

Name Description
LoadSettings(BinaryReader)

For internal use only

Print()

Starts the document's printing process.

SaveSettings(BinaryWriter)

For internal use only

Events

Name Description
BeginPrint

Occurs when the Print() method is called and before the first page of the document prints.

EndPrint

Occurs when the last page of the document has printed.

PrintPage

Occurs when the output to print for the current page is needed.

QueryPageSettings

Occurs immediately before each PrintPage event.

Extension Methods