MailPrinter.Print
Print(MapiMessage, string, PrintFormat)
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
Print(MapiMessage, Stream, PrintFormat)
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
Print(MailMessage, string, PrintFormat)
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
Print(MailMessage, Stream, PrintFormat)
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