SaveOptions Class
This is an abstract base class for classes that allow the user to specify additional options when saving a project into a particular format.
Inheritance Hierarchy
SystemObject
  Aspose.Tasks.SavingSaveOptions
    More...

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

The SaveOptions type exposes the following members.

Constructors
  NameDescription
Protected methodSaveOptions
Initializes a new instance of the SaveOptions class.
Protected methodSaveOptions(SaveOptions)
Initializes a new instance of the SaveOptions class.
Properties
  NameDescription
Public propertyBarStyles
Gets or sets the list of the instances of the BarStyle class that appear in project view.
Public propertyDrawNonWorkingTime
Gets or sets a value indicating whether non-working time should be drawn (Default value is TRUE).
Public propertyEndDate
Gets or sets a date to finish rendering to.
Public propertyFitContent
Gets or sets a value indicating whether row height should be increased to fit content.
Public propertyGridlines
Gets or sets a list of Gridline that appear in project view.
Public propertyLegendOnEachPage
Gets or sets a value indicating whether legend should be shown on each page (Default value is TRUE).
Public propertyMarkCriticalTasks
Gets or sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
Public propertyNonWorkingTimeColor
Gets or sets the non-working time color.
Public propertyPageCount
Gets or sets the number of pages of project.
Public propertyPageSize
Gets or sets the size of page to be rendered (Default value is PageSize.A4).
Public propertyPresentationFormat
Gets or sets the PresentationFormat in which the document will be saved.
Public propertyRollUpGanttBars
Gets or sets a value indicating whether subtasks on the summary task bar should be marked (Default value is FALSE).
Public propertySaveFormat
Gets or sets the format in which the document will be saved if this save options object is used.
Public propertyShowProjectSummaryTask
Gets or sets a value indicating whether project summary task if set to true.
Public propertyStartDate
Gets or sets the date to start rendering from.
Public propertyTasksComparer
Gets or sets the comparer to sort tasks on Gantt Chart.
Public propertyTextStyles
Gets or sets the list of the instances of the TextStyle class that appear in project view.
Public propertyTimescale
Gets or sets the minimal time period to render. The default value is Days.
Public propertyTimescaleTier
Gets or sets the timescale tier of the Gantt Chart view. The default value is null.
Public propertyUseGradientBrush
Gets or sets a value indicating whether gradient brush should be used when rendering Gantt Chart.
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.
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.)
Remarks
An instance of any derived class from SaveOptions class is passed to the stream Save or string Save overloads for the user to define custom options when saving a document.
See Also
Inheritance Hierarchy
SystemObject
  Aspose.Tasks.SavingSaveOptions
    Aspose.Tasks.SavingCsvOptions
    Aspose.Tasks.SavingHtmlSaveOptions
    Aspose.Tasks.SavingImageSaveOptions
    Aspose.Tasks.SavingPdfSaveOptions
    Aspose.Tasks.SavingPrimaveraSaveOptions
    Aspose.Tasks.SavingPrimaveraXmlSaveOptions
    Aspose.Tasks.SavingPrintOptions
    Aspose.Tasks.SavingSpreadsheet2003SaveOptions
    Aspose.Tasks.SavingSvgOptions
    Aspose.Tasks.SavingXamlOptions
    Aspose.Tasks.SavingXlsxOptions
    Aspose.Tasks.SavingXpsOptions