HtmlViewOptions

HtmlViewOptions class

Provides options for rendering documents into HTML format.

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; } Default font to be used when particular font used in document can’t be found.
EmailOptions { get; set; } The email messages view options.
ExcludeFonts { get; set; } When enabled prevents adding any fonts into HTML document.
FontsToExclude { get; set; } The list of font names, to exclude from HTML document.
ForPrinting { get; set; } Indicates whether to optimize output HTML for printing.
ImageHeight { get; set; } The height of an output image in pixels. (When converting single image to HTML only)
ImageMaxHeight { get; set; } Max height of an output image in pixels. (When converting single image to HTML only)
ImageMaxWidth { get; set; } Max width of an output image in pixels. (When converting single image to HTML only)
ImageWidth { get; set; } The width of the output image in pixels. (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 MS Outlook data files view options.
PdfOptions { get; set; } The PDF documents view options.
PresentationOptions { get; set; } The presentation processing documents view options.
ProjectManagementOptions { get; set; } The project management files view options.
RenderComments { get; set; } Enables rendering comments.
RenderHiddenPages { get; set; } Enables rendering of hidden pages.
RenderNotes { get; set; } Enables rendering notes.
RenderResponsive { get; set; } Enables responsive rendering; Responsive web-pages render well on a devices with different screen size.
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 splitting to pages options.
VisioRenderingOptions { get; set; } The Visio files processing documents view options.
Watermark { get; set; } The text watermark applied to each page.
WebDocumentOptions { get; set; } This rendering options enables you to customize the appearance of the output HTML/PDF/PNG/JPEG when rendering Web documents.
WordProcessingOptions { get; set; } This rendering options enables you to customize the appearance of the output HTML/PDF/PNG/JPEG when rendering Word documents.

Methods

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

Fields

Name Description
readonly PageRotations The page rotations.

See Also