Created
August 12, 2022 10:43
-
-
Save conholdate-docs-gists/5746ab59a9c4a41e91c90e1704d50699 to your computer and use it in GitHub Desktop.
Minify HTML to Optimize Rendering to HTML in C# | https://docs.conholdate.com/net/minify-html-to-optimize-rendering/
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.docx")) | |
{ | |
HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources(); | |
viewOptions.Minify = true; | |
viewer.View(viewOptions); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read the complete article: https://docs.conholdate.com/net/minify-html-to-optimize-rendering/