Print

MailPrinter.Print method (1 of 4)

Prints the specified MSG object using the desired format.

public void Print(MapiMessage message, string outputFile, PrintFormat printingFormat)
Parameter Type Description
message MapiMessage The MSG file to print.
outputFile String The output file.
printingFormat PrintFormat The printing format.

Exceptions

exception condition
ArgumentOutOfRangeException If printingFormat is not supported.
ArgumentNullException If one of the arguments is null.
InvalidOperationException If object can’t be processed.

See Also


MailPrinter.Print method (2 of 4)

Prints the specified MSG object using the desired format.

public void Print(MapiMessage message, Stream outputStream, PrintFormat printingFormat)
Parameter Type Description
message MapiMessage The MSG file to print.
outputStream Stream The output stream.
printingFormat PrintFormat The printing format.

Exceptions

exception condition
ArgumentOutOfRangeException If printingFormat is not supported.
ArgumentNullException If one of the arguments is null.
InvalidOperationException If object can’t be processed.

See Also


MailPrinter.Print method (3 of 4)

Prints the specified message object using the desired format.

public void Print(MailMessage message, string outputFile, PrintFormat printingFormat)
Parameter Type Description
message MailMessage The MSG file to print.
outputFile String The output file.
printingFormat PrintFormat The printing format.

Exceptions

exception condition
ArgumentOutOfRangeException If printingFormat is not supported.
ArgumentNullException If one of the arguments is null.
InvalidOperationException If object can’t be processed.

See Also


MailPrinter.Print method (4 of 4)

Prints the specified message object using the desired format.

public void Print(MailMessage message, Stream outputStream, PrintFormat printingFormat)
Parameter Type Description
message MailMessage The MSG file to print.
outputStream Stream The output stream.
printingFormat PrintFormat The printing format.

Exceptions

exception condition
ArgumentOutOfRangeException If printingFormat is not supported.
ArgumentNullException If one of the arguments is null.
InvalidOperationException If object can’t be processed.

See Also