HtmlSaveOptions Class

Wordize.Saving.HtmlSaveOptions class.

HtmlSaveOptions class

public class HtmlSaveOptions : SaveOptions

Constructors

NameDescription
HtmlSaveOptions()Initializes a new instance of this class that can be used to save a document in the Html format.
HtmlSaveOptions(SaveFormat)Initializes a new instance of this class that can be used to save a document in the Html, Mhtml, Epub, Azw3 or Mobi format.

Properties

NameDescription
AllowNegativeIndent { get; set; }Specifies whether negative left and right indents of paragraphs are normalized when saving to HTML, MHTML or EPUB. Default value is false.
CssClassNamePrefix { get; set; }Specifies a prefix which is added to all CSS class names. Default value is an empty string and generated CSS class names have no common prefix.
CssStyleSheetFileName { get; set; }Specifies the path and the name of the Cascading Style Sheet (CSS) file written when a document is exported to HTML. Default is an empty string.
CssStyleSheetType { get; set; }Specifies how CSS (Cascading Style Sheet) styles are exported to HTML, MHTML or EPUB. Default value is Inline for HTML/MHTML and External for EPUB.
CustomTimeZoneInfo { get; set; }Gets or sets custom local time zone used for date/time fields.
DefaultTemplate { get; set; }Gets or sets path to default template (including filename). Default value for this property is empty string.
Dml3DEffectsRenderingMode { get; set; }Gets or sets a value determining how 3D effects are rendered.
virtual DmlEffectsRenderingMode { get; set; }Gets or sets a value determining how DrawingML effects are rendered.
DmlRenderingMode { get; set; }Gets or sets a value determining how DrawingML shapes are rendered.
DocumentSplitCriteria { get; set; }Specifies how the document should be split when saving to Html, Epub or Azw3 format. Default is None for HTML and HeadingParagraph for EPUB and AZW3.
DocumentSplitHeadingLevel { get; set; }Specifies the maximum level of headings at which to split the document. Default value is 2.
Encoding { get; set; }Specifies the encoding to use when exporting to HTML, MHTML or EPUB. Default value is new UTF8Encoding(false) (UTF-8 without BOM).
ExportCidUrlsForMhtmlResources { get; set; }Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is false.
ExportDocumentProperties { get; set; }Specifies whether to export built-in and custom document properties to HTML, MHTML or EPUB. Default value is false.
ExportDropDownFormFieldAsText { get; set; }Controls how drop-down form fields are saved to HTML or MHTML. Default value is false.
ExportFontResources { get; set; }Specifies whether font resources should be exported to HTML, MHTML or EPUB. Default is false.
ExportFontsAsBase64 { get; set; }Specifies whether fonts resources should be embedded to HTML in Base64 encoding. Default is false.
ExportGeneratorName { get; set; }When true, causes the name and version of Wordize to be embedded into produced files. Default value is true.
ExportHeadersFootersMode { get; set; }Specifies how headers and footers are output to HTML, MHTML or EPUB. Default value is PerSection for HTML/MHTML and None for EPUB.
ExportImagesAsBase64 { get; set; }Specifies whether images are saved in Base64 format to the output HTML, MHTML or EPUB. Default is false.
ExportLanguageInformation { get; set; }Specifies whether language information is exported to HTML, MHTML or EPUB. Default is false.
ExportListLabels { get; set; }Controls how list labels are output to HTML, MHTML or EPUB. Default value is Auto.
ExportOriginalUrlForLinkedImages { get; set; }Specifies whether original URL should be used as the URL of the linked images. Default value is false.
ExportPageMargins { get; set; }Specifies whether page margins is exported to HTML, MHTML or EPUB. Default is false.
ExportPageSetup { get; set; }Specifies whether page setup is exported to HTML, MHTML or EPUB. Default is false.
ExportRelativeFontSize { get; set; }Specifies whether font sizes should be output in relative units when saving to HTML, MHTML or EPUB. Default is false.
ExportRoundtripInformation { get; set; }Specifies whether to write the roundtrip information when saving to HTML, MHTML or EPUB. Default value is true for HTML and false for MHTML and EPUB.
ExportShapesAsSvg { get; set; }Controls whether shapes are converted to SVG images when saving to HTML, MHTML, EPUB or AZW3. Default value is false.
ExportTextInputFormFieldAsText { get; set; }Controls how text input form fields are saved to HTML or MHTML. Default value is false.
ExportTocPageNumbers { get; set; }Specifies whether to write page numbers to table of contents when saving HTML, MHTML and EPUB. Default value is false.
ExportXhtmlTransitional { get; set; }Specifies whether to write the DOCTYPE declaration when saving to HTML or MHTML. When true, writes a DOCTYPE declaration in the document prior to the root element. Default value is false. When saving to EPUB or HTML5 (Html5) the DOCTYPE declaration is always written.
FontResourcesSubsettingSizeThreshold { get; set; }Controls which font resources need subsetting when saving to HTML, MHTML or EPUB. Default is 0.
FontsFolder { get; set; }Specifies the physical folder where fonts are saved when exporting a document to HTML. Default is an empty string.
FontsFolderAlias { get; set; }Specifies the name of the folder used to construct font URIs written into an HTML document. Default is an empty string.
HtmlVersion { get; set; }Specifies version of HTML standard that should be used when saving the document to HTML or MHTML. Default value is Xhtml.
ImageResolution { get; set; }Specifies the output resolution for images when exporting to HTML, MHTML or EPUB. Default is 96 dpi.
ImagesFolder { get; set; }Specifies the physical folder where images are saved when exporting a document to HTML format. Default is an empty string.
ImagesFolderAlias { get; set; }Specifies the name of the folder used to construct image URIs written into an HTML document. Default is an empty string.
ImlRenderingMode { get; set; }Gets or sets a value determining how ink (InkML) objects are rendered.
MemoryOptimization { get; set; }Gets or sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.
MetafileFormat { get; set; }Specifies in what format metafiles are saved when exporting to HTML, MHTML, or EPUB. Default value is Png, meaning that metafiles are rendered to raster PNG images.
NavigationMapLevel { get; set; }Specifies the maximum level of headings populated to the navigation map when exporting to EPUB, MOBI, or AZW3 formats. Default value is 3.
OfficeMathOutputMode { get; set; }Controls how OfficeMath objects are exported to HTML, MHTML or EPUB. Default value is Image.
PrettyFormat { get; set; }When true, pretty formats output where applicable. Default value is false.
RemoveJavaScriptFromLinks { get; set; }Specifies whether JavaScript will be removed from links. Default is false.
ReplaceBackslashWithYenSign { get; set; }Specifies whether backslash characters should be replaced with yen signs. Default value is false.
ResolveFontNames { get; set; }Specifies whether font family names used in the document are resolved and substituted according to FontSettings when being written into HTML-based formats.
ResourceFolder { get; set; }Specifies a physical folder where all resources like images, fonts, and external CSS are saved when a document is exported to HTML. Default is an empty string.
ResourceFolderAlias { get; set; }Specifies the name of the folder used to construct URIs of all resources written into an HTML document. Default is an empty string.
SaveFormat { get; set; }Specifies the format in which the document will be saved if this save options object is used.
ScaleImageToShapeSize { get; set; }Specifies whether images are scaled by Wordize to the bounding shape size when exporting to HTML, MHTML or EPUB. Default value is true.
TableWidthOutputMode { get; set; }Controls how table, row and cell widths are exported to HTML, MHTML or EPUB. Default value is All.
TempFolder { get; set; }Specifies the folder for temporary files used when saving to a DOC or DOCX file. By default this property is null and no temporary files are used.
UpdateAmbiguousTextFont { get; set; }Determines whether the font attributes will be changed according to the character code being used.
UpdateCreatedTimeProperty { get; set; }Gets or sets a value determining whether the Created Time built-in document property is updated before saving. Default value is false;
UpdateFields { get; set; }Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.
UpdateLastPrintedProperty { get; set; }Gets or sets a value determining whether the Last Printed built-in document property is updated before saving.
UpdateLastSavedTimeProperty { get; set; }Gets or sets a value determining whether the Last Saved Time built-in document property is updated before saving.
UseAntiAliasing { get; set; }Gets or sets a value determining whether or not to use anti-aliasing for rendering.
UseHighQualityRendering { get; set; }Gets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.

See Also