Class HtmlSaveOptions

Class HtmlSaveOptions

Namespace: Aspose.Tasks.Saving
Assembly: Aspose.Tasks.dll (25.2.0)

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

public class HtmlSaveOptions : SaveOptions

Inheritance

objectSimpleSaveOptionsSaveOptionsHtmlSaveOptions

Inherited Members

SaveOptions.BarStyles, SaveOptions.DrawNonWorkingTime, SaveOptions.EndDate, SaveOptions.FitTimescaleToEndOfPage, SaveOptions.FitContent, SaveOptions.Gridlines, SaveOptions.LegendDrawingOptions, SaveOptions.MarkCriticalTasks, SaveOptions.NonWorkingTimeColor, SaveOptions.PageCount, SaveOptions.PageSize, SaveOptions.IsPortrait, SaveOptions.PresentationFormat, SaveOptions.RollUpGanttBars, SaveOptions.StartDate, SaveOptions.TextStyles, SaveOptions.Timescale, SaveOptions.UseGradientBrush, SaveOptions.View, SaveOptions.ViewSettings, SaveOptions.CustomPageSize, SaveOptions.RenderToSinglePage, SimpleSaveOptions.project, SimpleSaveOptions.SaveFormat, SimpleSaveOptions.TasksComparer, SimpleSaveOptions.TasksFilter, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

HtmlSaveOptions()

Initializes a new instance of the Aspose.Tasks.Saving.HtmlSaveOptions class.

public HtmlSaveOptions()

Properties

CssSavingCallback

Gets or sets the callback that is called to create resource to store CSS.

public ICssSavingCallback CssSavingCallback { get; set; }

Property Value

ICssSavingCallback

CssStylePrefix

Gets or sets CSS style prefix.

public string CssStylePrefix { get; set; }

Property Value

string

ExportCss

Gets or sets the way CSS are exported.

public ResourceExportType ExportCss { get; set; }

Property Value

ResourceExportType

ExportFonts

Gets or sets the way fonts are exported.

public ResourceExportType ExportFonts { get; set; }

Property Value

ResourceExportType

ExportImages

Gets or sets the way images are exported.

public ResourceExportType ExportImages { get; set; }

Property Value

ResourceExportType

FontFaceTypes

Gets or sets the font face types.

public FontFaceType FontFaceTypes { get; set; }

Property Value

FontFaceType

FontSavingCallback

Gets or sets the callback that is called to create resource to store font.

public IFontSavingCallback FontSavingCallback { get; set; }

Property Value

IFontSavingCallback

FontSettings

Specifies font settings used when rendering project’s view.

public FontSettings FontSettings { get; }

Property Value

FontSettings

ImageSavingCallback

Gets or sets the callback that is called to create resource to store font.

public IImageSavingCallback ImageSavingCallback { get; set; }

Property Value

IImageSavingCallback

IncludeProjectNameInPageHeader

Gets or sets a value indicating whether to include project name in HTML page header.

public bool IncludeProjectNameInPageHeader { get; set; }

Property Value

bool

IncludeProjectNameInTitle

Gets or sets a value indicating whether to include project name in HTML title.

public bool IncludeProjectNameInTitle { get; set; }

Property Value

bool

PageSavingCallback

Gets or sets a user-defined callback which is used to get an output stream for each rendered page.

public IPageSavingCallback PageSavingCallback { get; set; }

Property Value

IPageSavingCallback

Pages

Gets or sets a list of page numbers to save when rendering project layout. All project pages will be saved if this list is empty.

public List<int> Pages { get; set; }

Property Value

List<int&gt;

ReduceFooterGap

Gets or sets a value indicating whether a gap between last task and the footer must be reduced.

public bool ReduceFooterGap { get; set; }

Property Value

bool

UseGradientBrush

Gets or sets a value indicating whether to use gradient brush when rendering project layout. Currently using of gradient brush is not supported when rendering to HTML.

public override bool UseGradientBrush { get; set; }

Property Value

bool