HtmlSaveOptions Class
Allows to specify additional options when rendering project pages to HTML.
Inheritance Hierarchy

Namespace: Aspose.Tasks.Saving
Assembly: Aspose.Tasks (in Aspose.Tasks.dll) Version: 19.10
Syntax
public class HtmlSaveOptions : SaveOptions

The HtmlSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodHtmlSaveOptions
Initializes a new instance of the HtmlSaveOptions class.
Properties
  NameDescription
Public propertyBarStyles
Gets or sets the list of the instances of the BarStyle class that appear in project view.
(Inherited from SaveOptions.)
Public propertyCssSavingCallback
Gets or sets the callback that is called to create resource to store CSS.
Public propertyCssStylePrefix
Gets or sets css style prefix.
Public propertyDefaultFontName
Gets or sets the default font for rendering.
Public propertyDrawNonWorkingTime
Gets or sets a value indicating whether non-working time should be drawn (Default value is TRUE).
(Inherited from SaveOptions.)
Public propertyEndDate
Gets or sets a date to finish rendering to.
(Inherited from SaveOptions.)
Public propertyExportCss
Gets or sets the way css are exported.
Public propertyExportFonts
Gets or sets the way fonts are exported.
Public propertyExportImages
Gets or sets the way images are exported.
Public propertyFitContent
Gets or sets a value indicating whether row height should be increased to fit content.
(Inherited from SaveOptions.)
Public propertyFontFaceTypes
Gets or sets the font face types.
Public propertyFontSavingCallback
Gets or sets the callback that is called to create resource to store font.
Public propertyGridlines
Gets or sets a list of Gridline that appear in project view.
(Inherited from SaveOptions.)
Public propertyImageSavingCallback
Gets or sets the callback that is called to create resource to store font.
Public propertyIncludeProjectNameInPageHeader
Gets or sets a value indicating whether to include project name in HTML page header.
Public propertyIncludeProjectNameInTitle
Gets or sets a value indicating whether to include project name in HTML title.
Public propertyLegendOnEachPage
Gets or sets a value indicating whether legend should be shown on each page (Default value is TRUE).
(Inherited from SaveOptions.)
Public propertyMarkCriticalTasks
Gets or sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
(Inherited from SaveOptions.)
Public propertyNonWorkingTimeColor
Gets or sets the non-working time color.
(Inherited from SaveOptions.)
Public propertyPageCount
Gets or sets the number of pages of project.
(Inherited from SaveOptions.)
Public propertyPages
Gets or sets a list of page numbers to save when rendering project layout.
Remarks
All project pages will be saved if this list is empty.
Public propertyPageSize
Gets or sets the size of page to be rendered (Default value is PageSize.A4).
(Inherited from SaveOptions.)
Public propertyPresentationFormat
Gets or sets the PresentationFormat in which the document will be saved.
(Inherited from SaveOptions.)
Public propertyReduceFooterGap
Gets or sets a value indicating whether a gap between last task and the footer must be reduced.
Public propertyRollUpGanttBars
Gets or sets a value indicating whether subtasks on the summary task bar should be marked (Default value is FALSE).
(Inherited from SaveOptions.)
Public propertySaveFormat
Gets or sets the format in which the document will be saved if this save options object is used.
(Inherited from SaveOptions.)
Public propertyShowProjectSummaryTask
Gets or sets a value indicating whether project summary task if set to true.
(Inherited from SaveOptions.)
Public propertyStartDate
Gets or sets the date to start rendering from.
(Inherited from SaveOptions.)
Public propertyTasksComparer
Gets or sets the comparer to sort tasks on Gantt Chart.
(Inherited from SaveOptions.)
Public propertyTextStyles
Gets or sets the list of the instances of the TextStyle class that appear in project view.
(Inherited from SaveOptions.)
Public propertyTimescale
Gets or sets the minimal time period to render. The default value is Days.
(Inherited from SaveOptions.)
Public propertyTimescaleTier
Gets or sets the timescale tier of the Gantt Chart view. The default value is null.
(Inherited from SaveOptions.)
Public propertyUseGradientBrush
Gets or sets a value indicating whether to use gradient brush when rendering project layout.
Remarks
Currently using of gradient brush is not supported when rendering to HTML.
(Overrides SaveOptionsUseGradientBrush.)
Public propertyUseProjectDefaultFont
Gets or sets a value indicating whether the default font must be used for rendering.
Public propertyView
Gets or sets a list of the view columns to render (GanttChartColumn). If not set then task ids, task names, start and finish are rendered only.
(Inherited from SaveOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also