Class HTMLSaveOptions

HTMLSaveOptions class

Allows to specify additional options when rendering diagram pages to HTML.

public class HTMLSaveOptions : RenderingSaveOptions

Constructors

NameDescription
HTMLSaveOptions()Initializes a new instance of this class that can be used to save a document in the HTML format.

Properties

NameDescription
Area { get; set; }Gets or sets the area of the shapes will be saved .
virtual DefaultFont { get; set; }When characters in the diagram are unicode and not be set with correct font value or the font is not installed locally, they may appear as block in pdf, image or XPS. Set the DefaultFont such as MingLiu or MS Gothic to show these characters.
EmfRenderSetting { get; set; }Setting for rendering Emf metafile.
EnlargePage { get; set; }Specifies whether enlarge page .
ExportGuideShapes { get; set; }Defines whether need exporting the guide shapes or not.
ExportHiddenPage { get; set; }Defines whether need exporting the hidden page or not.
IsExportComments { get; set; }Defines whether need exporting the comments or not.
PageCount { get; set; }Gets or sets the number of pages to render in HTML. Default is MaxValue which means all pages of the diagram will be rendered.
PageIndex { get; set; }Gets or sets the 0-based index of the first page to render. Default is 0.
PageSize { get; set; }Gets or sets the page size for the generated images. Can be PageSize or null.
Resolution { get; set; }Gets or sets the resolution for the generated html, in dots per inch.
SaveAsSingleFile { get; set; }Indicates whether save the html as single file. The default value is false.
SaveForegroundPagesOnly { get; set; }Specifies whether all pages will be saved in image or only foreground.
override SaveFormat { get; set; }Specifies the format in which the rendered diagram pages will be saved if this save options object is used. Can be HTML only.
SaveTitle { get; set; }Defines whether need exporting the title or not.
SaveToolBar { get; set; }Specifies whether saving toolbar The default value is true.
Shapes { get; set; }Gets or sets shapes to render. Default count is 0.
StreamProvider { get; set; }Gets or sets the IStreamProvider for exporting objects.
Title { get; set; }Gets or sets the title of diagram to render in HTML. If Title is null Diagram.DocumentProperties.Title DocumentProperties will be used as Title. If Diagram.DocumentProperties.Title is null or empty the file name of Diagram will be used as Title.
WarningCallback { get; set; }Gets or sets warning callback.

See Also