Created
November 5, 2019 07:18
-
-
Save GroupDocsGists/01d5d49139e26660cd01b834ad27d591 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (Viewer viewer = new Viewer("sample.msg")) | |
{ | |
// The file path format e.g. 'page_{0}.html' | |
string filePathFormat = "page-{0}.html"; | |
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources(filePathFormat); | |
options.EmailOptions.PageSize = PageSize.A4; | |
viewer.View(options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment