HtmlViewOptions

HtmlViewOptions class

Contains options for rendering documents into HTML format. For details, see the topic and its children.

public class HtmlViewOptions : ViewOptions

Properties

Name Description
ArchiveOptions { get; set; } The archive files view options.
CadOptions { get; set; } The CAD drawing view options.
DefaultFontName { get; set; } Sets the default font for a document.
EmailOptions { get; set; } The email messages view options.
ExcludeFonts { get; set; } Disables adding any fonts into HTML document.
FontsToExclude { get; set; } The list of font names to exclude from HTML document.
ForPrinting { get; set; } Enables optimization the output HTML for printing.
ImageHeight { get; set; } The height of an output image (in pixels). The property is available when converting single image to HTML only.
ImageMaxHeight { get; set; } Max height of an output image (in pixels). The property is available when converting single image to HTML only.
ImageMaxWidth { get; set; } Max width of an output image (in pixels). The property is available when converting single image to HTML only.
ImageWidth { get; set; } The width of the output image (in pixels). The property is available when converting single image to HTML only.
MailStorageOptions { get; set; } Mail storage data files view options.
Minify { get; set; } Enables HTML content and HTML resources minification.
OutlookOptions { get; set; } The Microsoft Outlook data files view options.
PdfOptions { get; set; } The PDF document view options.
PresentationOptions { get; set; } The presentation files view options.
ProjectManagementOptions { get; set; } The project management files view options.
RemoveComments { get; set; } Disables rendering comments when set to true. By default is false — all comments are displayed.
RenderHiddenPages { get; set; } Enables rendering of hidden pages.
RenderNotes { get; set; } Enables rendering notes.
RenderResponsive { get; set; } Enables responsive rendering.
RenderToSinglePage { get; set; } Enables rendering an entire document to one HTML file.
SpreadsheetOptions { get; set; } The spreadsheet files view options.
TextOptions { get; set; } Text files view options.
VisioRenderingOptions { get; set; } The Visio files view options.
Watermark { get; set; } The text watermark to be applied to each page.
WebDocumentOptions { get; set; } The Web files view options.
WordProcessingOptions { get; set; } The Word processing files view options.

Methods

Name Description
static ForEmbeddedResources() Initializes an instance of the HtmlViewOptions class.
static ForEmbeddedResources(CreatePageStream) Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
static ForEmbeddedResources(IPageStreamFactory) Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
static ForEmbeddedResources(string) Initializes an instance of the HtmlViewOptions class.
static ForEmbeddedResources(CreatePageStream, ReleasePageStream) Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
static ForExternalResources() Initializes an instance of the HtmlViewOptions class.
static ForExternalResources(IPageStreamFactory, IResourceStreamFactory) Initializes an instance of the HtmlViewOptions class for rendering into HTML with external resources.
static ForExternalResources(CreatePageStream, CreateResourceStream, CreateResourceUrl) Initializes an instance of the HtmlViewOptions class for rendering into HTML with external resources.
static ForExternalResources(string, string, string) Initializes an instance of the HtmlViewOptions class.
static ForExternalResources(CreatePageStream, CreateResourceStream, CreateResourceUrl, ReleasePageStream, ReleaseResourceStream) Initializes an instance of the HtmlViewOptions class for rendering into HTML with external resources.
RotatePage(int, Rotation) Applies the clockwise rotation to a page.

Fields

Name Description
readonly PageRotations The page rotation.

See Also