Back to Devexpress

PrintingSystem Members

windowsforms-devexpress-dot-xtraprinting-dot-printingsystem-dot-underscore-members.md

latest47.5 KB
Original Source

PrintingSystem Members

Implements the basic printing functionality of the XtraPrinting Library.

Constructors

NameDescription
PrintingSystem()Initializes a new instance of the PrintingSystem class with default settings.
PrintingSystem(IContainer)Initializes a new PrintingSystem class instance and adds it to the form’s container.

Properties

NameDescription
CancelPendingFor internal use. Inherited from PrintingSystemBase.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
ContinuousPageNumberingGets or sets a value indicating whether pages should be renumbered following reordering in the PrintingSystemBase.Pages collection. Inherited from PrintingSystemBase.
CultureSpecifies the culture used for date and time values in the XRPageInfo control. Inherited from PrintingSystemBase.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DocumentGets the current document. Inherited from PrintingSystemBase.
EditingFieldsProvides access to the collection of fields whose content can be edited in Print Preview. Inherited from PrintingSystemBase.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
ExportOptionsGets the settings used to specify export parameters when exporting a printing system’s document. Inherited from PrintingSystemBase.
GraphGets a BrickGraphics object used for drawing in the current report. Inherited from PrintingSystemBase.
ImageResourcesInherited from PrintingSystemBase.
LandscapeGets the orientation of a report page. Inherited from PrintingSystemBase.
LinksGets the collection of links, defined for the current PrintingSystem object.
PageBoundsGets the bounds of a report page. Inherited from PrintingSystemBase.
PageCountGets the number of document pages. Inherited from PrintingSystemBase.
PageMarginsGets the current page margin settings. Inherited from PrintingSystemBase.
PagesProvides access to a collection of pages generated for this printing system. Inherited from PrintingSystemBase.
PageSettingsGets the current page settings.
PreviewFormExGets the form used to display the document preview.
PreviewRibbonFormExGets the Ribbon form used to display the document preview.
PrintingDocumentFor internal use. Inherited from PrintingSystemBase.
ProgressReflectorProvides access to the object that reflects the current state of a document’s generating or exporting. Inherited from PrintingSystemBase.
ShowMarginsWarningGets or sets a value which specifies whether an error message is shown when the page margins are set outside the printable area. Inherited from PrintingSystemBase.
ShowPrintStatusDialogSpecifies whether or not to show a print status dialog when printing a document. Inherited from PrintingSystemBase.
SiteGets or sets the ISite of the Component. Inherited from Component.
UserName staticSpecifies the name of the user that created the document. Inherited from PrintingSystemBase.
Watermarks

Methods

NameDescription
About() staticActivates the About dialog.
AddCommandHandler(ICommandHandler)Adds the specified command handler to the command handlers list for one or several of the printing system commands (listed in the PrintingSystemCommand enumeration). Inherited from PrintingSystemBase.
AddService(Type, ServiceCreatorCallback, Boolean)Adds the specified service to the service container. Inherited from PrintingSystemBase.
AddService(Type, ServiceCreatorCallback)Adds the specified service to the service container. Inherited from PrintingSystemBase.
AddService(Type, Object, Boolean)Adds the specified service to the service container. Inherited from PrintingSystemBase.
AddService(Type, Object)Adds the specified service to the service container. Inherited from PrintingSystemBase.
Begin()Indicates that report generation has started. Inherited from PrintingSystemBase.
BeginSubreport(PointF)Must be called before subreport creation. Inherited from PrintingSystemBase.
Cancel()For internal use. Inherited from PrintingSystemBase.
ClearContent()Clears the current document. Inherited from PrintingSystemBase.
CompleteWorkingAsync(Boolean)Inherited from PrintingSystemBase.
CreateBrick(String)Creates a specific brick type. Inherited from PrintingSystemBase.
CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
CreatePage()Creates a new empty page using the current printing system’s page settings. Inherited from PrintingSystemBase.
Dispose()Releases all resources used by the Component. Inherited from Component.
End()Finishes a report’s generation. Inherited from PrintingSystemBase.
End(Boolean)Finishes a report’s generation. Inherited from PrintingSystemBase.
EndSubreport()Signals that subreport creation is completed. Inherited from PrintingSystemBase.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ExecCommand(PrintingSystemCommand, Object[])Executes the specified printing system command and passes the specified parameters. Inherited from PrintingSystemBase.
ExecCommand(PrintingSystemCommand)Executes the specified printing system command. Inherited from PrintingSystemBase.
ExportToCsv(Stream, CsvExportOptions)Exports a document to the specified stream in CSV format using the defined CSV-specific options. Inherited from PrintingSystemBase.
ExportToCsv(Stream)Exports a document to the specified stream in CSV format. Inherited from PrintingSystemBase.
ExportToCsv(String, CsvExportOptions)Exports a document to the specified file path in CSV format using the defined CSV-specific options. Inherited from PrintingSystemBase.
ExportToCsv(String)Exports a document to the specified file path in CSV format. Inherited from PrintingSystemBase.
ExportToDocx(Stream, DocxExportOptions)Exports a document to the specified stream in DOCX format using the specified DOCX-specific options. Inherited from PrintingSystemBase.
ExportToDocx(Stream)Exports a document to the specified stream in DOCX format. Inherited from PrintingSystemBase.
ExportToDocx(String, DocxExportOptions)Exports a document to the specified file path in DOCX format using the specified DOCX-specific options. Inherited from PrintingSystemBase.
ExportToDocx(String)Exports a document to the specified file path in DOCX format. Inherited from PrintingSystemBase.
ExportToHtml(Stream, HtmlExportOptions)Exports a document to the specified stream in HTML format with the specified options. Inherited from PrintingSystemBase.
ExportToHtml(Stream)Exports a document to the specified stream in HTML format. Inherited from PrintingSystemBase.
ExportToHtml(String, HtmlExportOptions)Exports a document to the specified file path in HTML format using the defined HTML-specific options. Inherited from PrintingSystemBase.
ExportToHtml(String)Exports a document to the specified file path in HTML format. Inherited from PrintingSystemBase.
ExportToImage(Stream, DXImageFormat)Exports a document to an image with the specified format and sends it to a stream. Inherited from PrintingSystemBase.
ExportToImage(Stream, ImageExportOptions)Exports a document to the specified stream in Image format using the defined Image-specific options. Inherited from PrintingSystemBase.
ExportToImage(Stream)Exports a document to the specified stream as an image. Use options to specify an image format. Inherited from PrintingSystemBase.
ExportToImage(String, DXImageFormat)Exports a document to an image with the specified format and saves it to a file. Inherited from PrintingSystemBase.
ExportToImage(String, ImageExportOptions)Exports a document to the specified file path in Image format with the specified options. Inherited from PrintingSystemBase.
ExportToImage(String)Exports a document to the specified file path in Image format. Inherited from PrintingSystemBase.
ExportToMail()Exports a document to HTML and then inserts it into a specified e-mail. Inherited from PrintingSystemBase.
ExportToMail(MailMessageExportOptions, String, String, String)Exports a document to HTML and then inserts it into a specified e-mail. Inherited from PrintingSystemBase.
ExportToMail(MailMessageExportOptions)Exports a document to HTML and then inserts it into a specified e-mail. Inherited from PrintingSystemBase.
ExportToMail(String, String, String)Exports a document to HTML and then inserts it into a specified e-mail. Inherited from PrintingSystemBase.
ExportToMht(Stream, MhtExportOptions)Exports a document to the specified stream in MHT format using the defined MHT-specific options. Inherited from PrintingSystemBase.
ExportToMht(Stream)Exports a document to the specified stream in MHT format. Inherited from PrintingSystemBase.
ExportToMht(String, MhtExportOptions)Exports a document to the specified file path in MHT format using the defined MHT-specific options. Inherited from PrintingSystemBase.
ExportToMht(String)Exports a document to the specified file path in MHT format. Inherited from PrintingSystemBase.
ExportToPdf(Stream, PdfExportOptions)Exports a document to the specified stream in PDF format using the defined PDF-specific options. Inherited from PrintingSystemBase.
ExportToPdf(Stream)Exports a document to the specified stream in PDF format. Inherited from PrintingSystemBase.
ExportToPdf(String, PdfExportOptions)Exports a document to the specified file path in PDF format using the defined PDF-specific options. Inherited from PrintingSystemBase.
ExportToPdf(String)Exports a document to the specified file path in PDF format. Inherited from PrintingSystemBase.
ExportToRtf(Stream, RtfExportOptions)Exports a document to the specified stream in RTF format using the defined RTF-specific options. Inherited from PrintingSystemBase.
ExportToRtf(Stream)Exports a document to the specified stream in RTF format. Inherited from PrintingSystemBase.
ExportToRtf(String, RtfExportOptions)Exports a document to the specified file path in RTF format using the defined RTF-specific options. Inherited from PrintingSystemBase.
ExportToRtf(String)Exports a document to the specified file path in RTF format. Inherited from PrintingSystemBase.
ExportToText(Stream, TextExportOptions)Exports a document to the specified stream in Text format using the defined Text-specific options. Inherited from PrintingSystemBase.
ExportToText(Stream)Exports a document to the specified stream in Text format. Inherited from PrintingSystemBase.
ExportToText(String, TextExportOptions)Exports a document to the specified file path in Text format using the defined Text-specific options. Inherited from PrintingSystemBase.
ExportToText(String)Exports a document to the specified file path in Text format. Inherited from PrintingSystemBase.
ExportToXls(Stream, XlsExportOptions)Exports a report to the specified stream in XLS format using the defined XLS-specific options. Inherited from PrintingSystemBase.
ExportToXls(Stream)Exports a report to the specified stream in XLS format. Inherited from PrintingSystemBase.
ExportToXls(String, XlsExportOptions)Exports a report to the specified file path in XLS format using the defined XLS-specific options. Inherited from PrintingSystemBase.
ExportToXls(String)Exports a report to the specified file path in XLS format. Inherited from PrintingSystemBase.
ExportToXlsx(Stream, XlsxExportOptions)Exports a report to the specified stream in XLSX format using the defined XLSX-specific options. Inherited from PrintingSystemBase.
ExportToXlsx(Stream)Exports a report to the specified stream in XLSX format. Inherited from PrintingSystemBase.
ExportToXlsx(String, XlsxExportOptions)Exports a report to the specified file path in XLSX format using the defined XLSX-specific options. Inherited from PrintingSystemBase.
ExportToXlsx(String)Exports a report to the specified file path in XLSX format. Inherited from PrintingSystemBase.
ExportToXps(Stream, XpsExportOptions)Exports a document to the specified stream in XPS format using the specified XPS-specific options. Inherited from PrintingSystemBase.
ExportToXps(String, XpsExportOptions)Exports a report to the specified file path in XPS format using the specified XPS-specific options. Inherited from PrintingSystemBase.
GetBrickExporter(Type) staticFor internal use. Inherited from PrintingSystemBase.
GetCommandVisibility(PrintingSystemCommand)Gets the current visibility of the specified printing system command. Inherited from PrintingSystemBase.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetIntersectedBricks()Gets the intersecting bricks within the document. Inherited from PrintingSystemBase.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetOrCreatePlatformDrawingCache<T>(Func<T>)Inherited from PrintingSystemBase.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
HighlightIntersectedBricks(Color)Highlights the intersecting bricks within the document. Inherited from PrintingSystemBase.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
InsertPageBreak(Single, MarginsF, Nullable<DXPaperKind>, Size, Nullable<Boolean>)Inherited from PrintingSystemBase.
InsertPageBreak(Single)Inserts a page break at a specified position. Inherited from PrintingSystemBase.
LoadDocument(Stream)Loads a document from a Stream object, containing data in a native XML format ( PRNX ). Inherited from PrintingSystemBase.
LoadDocument(String)Loads a document from a file in a native XML format ( PRNX ). Inherited from PrintingSystemBase.
Lock()Prevents the document from being modified. Inherited from PrintingSystemBase.
MarkBrick(Brick, Page)Draws a selection rectangle around the specified brick located on the specified page. Inherited from PrintingSystemBase.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
PageSetup()Displays the PageSetup dialog.
Print()Prints the current document.
Print(String)Prints the current document to the specified printer.
PrintDlg()Displays the standard Print dialog and prints the current document.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemoveCommandHandler(ICommandHandler)Removes the existing command handler for one or several of the printing system commands (listed in the PrintingSystemCommand enumeration). Inherited from PrintingSystemBase.
RemoveService(Type, Boolean)Removes the specified service type from the service container. Inherited from PrintingSystemBase.
RemoveService(Type)Removes the specified service type from the service container. Inherited from PrintingSystemBase.
ResetProgressReflector()Resets all settings of the printing system’s PrintingSystemBase.ProgressReflector. Inherited from PrintingSystemBase.
SaveDocument(Stream, NativeFormatOptions)Saves a document to a Stream object in a native XML format (PRNX) using the specified PRNX-specific options. Inherited from PrintingSystemBase.
SaveDocument(Stream)Saves a document to a Stream object in a native XML format (PRNX). Inherited from PrintingSystemBase.
SaveDocument(String, NativeFormatOptions)Saves a document to the specified file path in a native XML format (PRNX) using the specified PRNX-specific options. Inherited from PrintingSystemBase.
SaveDocument(String)Saves a document to the specified file path in a native XML format (PRNX). Inherited from PrintingSystemBase.
SetBrickExporter(Type, Type) staticFor internal use. Inherited from PrintingSystemBase.
SetCommandVisibility(PrintingSystemCommand, CommandVisibility)Changes the visibility of the specified printing system command. Inherited from PrintingSystemBase.
SetCommandVisibility(PrintingSystemCommand[], CommandVisibility)Changes the visibility of the specified printing system command. Inherited from PrintingSystemBase.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
Unlock()Unlocks a previously locked document. Inherited from PrintingSystemBase.
UnmarkBrick(Brick, Page)Removes a selection rectangle which was previously drawn around the specified brick using the PrintingSystemBase.MarkBrick method. Inherited from PrintingSystemBase.

Events

NameDescription
AfterBandPrintOccurs after a band has been printed on a page. Inherited from PrintingSystemBase.
AfterBuildPagesFor internal use. Occurs after all document pages have been created. Inherited from PrintingSystemBase.
AfterChangeOccurs on raising any PrintingSystem event that does not have the “Before” prefix in its name. Inherited from PrintingSystemBase.
AfterMarginsChangeObsolete; the event is not raised. Inherited from PrintingSystemBase.
AfterPagePaintOccurs after a specific page has been painted in a Print Preview. Inherited from PrintingSystemBase.
AfterPagePrintFor internal use. Occurs after every time any page of the printing system’s Document is printed. Inherited from PrintingSystemBase.
BeforeBuildPagesFor internal use. Occurs before document pages are created. Inherited from PrintingSystemBase.
BeforeChangeOccurs on raising any PrintingSystem event that has the “Before” prefix in its name. Inherited from PrintingSystemBase.
BeforeMarginsChangeOccurs when page margins are about to change. Inherited from PrintingSystemBase.
BeforePagePaintOccurs before a specific page has been painted in a Print Preview. Inherited from PrintingSystemBase.
CreateDocumentExceptionOccurs when an exception is raised during document creation. Inherited from PrintingSystemBase.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
EditingFieldChangedOccurs each time a value of an edit field changes. Inherited from PrintingSystemBase.
EndPrintOccurs after the document is ready to print. Does not indicate that the actual printing process completed successfully. Inherited from PrintingSystemBase.
FillEmptySpaceFires after page rendering if a gap remains between the rendered areas. Inherited from PrintingSystemBase.
PageInsertCompleteFor internal use. Inherited from PrintingSystemBase.
PageSettingsChangedObsolete; the event is not raised. Inherited from PrintingSystemBase.
PrintProgressThe event is raised before a document page is sent to a printer. The event is not raised in non-Windows environments. Inherited from PrintingSystemBase.
ScaleFactorChangedOccurs when a scale factor of the current document has been changed. Inherited from PrintingSystemBase.
StartPrintOccurs before the printing system’s document is printed. Inherited from PrintingSystemBase.
XlSheetCreatedOccurs after creation of an XLS or XLSX document worksheet has finished. Inherited from PrintingSystemBase.

See Also

PrintingSystem Class

DevExpress.XtraPrinting Namespace