using var stream = new MemoryStream();
HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Html)
{
PrettyFormat = true,
ExportHeadersFootersMode = ExportHeadersFootersMode.PerSection,
ExportImagesAsBase6…...If the output HTML is for viewing purposes, i.e. it is not supposed...original document layout for viewing purposes. So if your goal is...