HtmlElementSizeOutputMode Enum
Wordize.Saving.HtmlElementSizeOutputMode enum. Specifies how Wordize exports element widths and heights to HTML MHTML and EPUB.
HtmlElementSizeOutputMode enumeration
Specifies how Wordize exports element widths and heights to HTML, MHTML and EPUB.
public enum HtmlElementSizeOutputMode
Values
Name | Value | Description |
---|---|---|
All | 0 | All element sizes, both in absolute and relative units, specified in the document are exported. |
RelativeOnly | 1 | Element sizes are exported only if they are specified in relative units in the document. Fixed sizes are not exported in this mode. Visual agents will calculate missing sizes to make document layout more natural. |
None | 2 | Element sizes are not exported. Visual agents will build layout automatically according to relationship between elements. |
Examples
Shows how to specify table width mode while exporting document to HTML.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.TableWidthOutputMode = HtmlElementSizeOutputMode.None;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlSaveOptions.TableWidthOutputMode.html", htmlSaveOptions)
.Execute();
See Also
- property TableWidthOutputMode
- namespace Wordize.Saving
- assembly Wordize