MailPrinter Class

Represents a printer for mail messages.
Inheritance Hierarchy
SystemObject
  Aspose.Email.PrintingMailPrinter

Namespace:  Aspose.Email.Printing
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public sealed class MailPrinter : IPrintSettingsProvider

The MailPrinter type exposes the following members.

Constructors
  NameDescription
Public methodMailPrinter
Initializes a new instance of the MailPrinter class with A4 paper setting for page size and 0.5in margin for all sides.
Public methodMailPrinter(IPrintSettingsProvider)
Initializes a new instance of the MailPrinter class using given settings provider.
Properties
  NameDescription
Public propertyCultureName
Gets or sets the culture name in the format languagecode2-country/regioncode2.
Public propertyDpiX
Gets or sets the horizontal DPI.
Public propertyDpiY
Gets or sets the vertical DPI.
Public propertyFormattingFlags
Gets or sets the printer options.
Public propertyMarginBottom
Gets or sets the bottom margin.
Public propertyMarginLeft
Gets or sets the left margin.
Public propertyMarginRight
Gets or sets the right margin.
Public propertyMarginTop
Gets or sets the top margin.
Public propertyPageHeight
Gets or sets the height of the page.
Public propertyPageUnit
Gets or sets the page unit.
Public propertyPageWidth
Gets or sets the width of the page.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodPrint(MailMessage, Stream, PrintFormat)
Prints the specified message object using the desired format.
Public methodPrint(MailMessage, String, PrintFormat)
Prints the specified message object using the desired format.
Public methodPrint(MapiMessage, Stream, PrintFormat)
Prints the specified MSG object using the desired format.
Public methodPrint(MapiMessage, String, PrintFormat)
Prints the specified MSG object using the desired format.
Public methodToString (Inherited from Object.)
See Also