Display Information in Custom Order in MHTML Files

Contents
[ ]

Aspose.Email provides MhtSaveOptions.RenderingHeaders property which returns the list of headers for rendering. You can add the headers by using the MhtTemplateName class. The order in which the headers are added decides the order in which the information is displayed.

The following image compares the three outputs generated by the sample code.

todo:image_alt_text

The following code snippet demonstrates the use of MhtSaveOptions.RenderingHeaders property to set the order in which the information is displayed in the output MHTML files.