Click or drag to resize

PrintingService Class

Provides printer settings, bounds, and margins for the current application instance.
Inheritance Hierarchy
SystemObject
  Altaxo.MainPrintingService

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class PrintingService : IPrintingService

The PrintingService type exposes the following members.

Constructors
 NameDescription
Public methodPrintingService Initializes a new instance of the PrintingService class.
Top
Properties
 NameDescription
Public propertyPrintDocument Returns the current print document for this instance of the application. This contains settings that store the current printer, paper size, orientation and so on.
Public propertyPrintingBounds Gets the printable page bounds.
Public propertyPrintingMargins Gets the margins used for printing.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateBoundsAndMargins Update the default bounds and margins after the printer settings changed. This function must be called manually after a page setup dialog.
Top
See Also