PrinterWriter Class

Used to write reports to a graphical windows printer.

Definition

Namespace: Firefly.Box.Printing
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public class PrinterWriter : IDisposable
Inheritance
Object    PrinterWriter
Implements
IDisposable

Constructors

PrinterWriterInitializes a new instance of the PrinterWriter class.

Properties

AutoNewPage 
CancelPrintingGets or sets the value determining if the printing job is canceled
CopiesGets or sets the value determining the PrinterWriter's copies
DefaultPageSettingsGets or sets the value determining The default page settings
DefaultPrinterName 
DefaultPrinterSettingsGets or sets the value determining The default printer settings
FileName 
HeightFromStartOfPage Return the height in pixels from the start of the current page
HeightUntilEndOfPage Returns the height in pixels until the end of the current page
HeightUntillEndOfPageObsolete.
LandscapeGets or sets the value determining whether the pages are printed in landscape or portrait orientation.
NameGets or sets the PrinterWriter's name
NewPageOnNextWrite 
PageGets the number of the current page being printed
PageEnded 
PageFooterGets or sets the value determining the ReportSection to be used as this PrinterWriter's page footer
PageHeaderGets or sets the value determining the ReportSection to be used as this PrinterWriter's page header
PageHeight Gets the total height in pixel of the current page
PaperKindGets or sets the value determining the PrinterWriter's paper kind
PrintDialogGets or sets the value determining if a PrintPreviewDialog will appear, and will allow the user to choose what printer to write to.
PrinterName 
PrintPreviewGets or sets the value determining if the print result will be displayed in a PrintPreviewDialog

Methods

AboutToPrint 
CreatePrintJob 
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
EndCurrentPage 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
NewPageStarts a new page
Open 
ShowPrintDialog 
ShowPrintDialogCore 
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

See Also