SaveOptions

SaveOptions class

Inherits: Aspose::Tasks::Saving::SimpleSaveOptions

This is an abstract base class for classes that allow the user to specify additional options when saving a project into a particular format.

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.

Methods

NameDescription
get_BarStylesGets the list of the instances of the BarStyle class that appear in project view.
get_CustomPageSizeGets the custom page size in points (1 point = 1/72 of inch).
get_DrawNonWorkingTimeGets a value indicating whether non-working time should be drawn (Default value is TRUE).
get_EndDateGets a date to finish rendering to.
get_FitContentGets a value indicating whether row height should be increased to fit its content.
get_FitTimescaleToEndOfPageGets whether a calendar section of a view should be rendered to the end (right side) of the last page. If value is false, calendar section is rendered exactly to EndDate, even there is an empty space on a page.
get_GridlinesGets a list of Gridline that appear in project view.
get_IsPortraitGets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.
get_LegendDrawingOptionsGets a value which define how to render a legend. Default value is LegendDrawingOptions.OnEveryPage.
get_LegendItemsGets an array of PageLegendItem which define which bars should be rendered in page legend. If null, the default items are rendered.
get_MarkCriticalTasksGets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
get_NonWorkingTimeColorGets the non-working time color.
get_PageCountGets the number of pages of project.
get_PageSizeGets the size of page to be rendered (Default value is PageSize.A4).
get_PresentationFormatGets the PresentationFormat in which the document will be saved.
get_RenderToSinglePageGets a value indicating whether a project should be rendered to a single page when project is saved in graphical format. The page size will be changed so the rendered project can be fit on one page.
get_RollUpGanttBarsGets a value indicating whether subtasks on the summary task bar should be marked. For subtasks, the Rollup field indicates whether information on the subtask Gantt bars will be rolled up to the summary task bar. For summary tasks, the Rollup field indicates whether the summary task bar displays rolled up bars. You must have the Rollup field for summary tasks set to Yes for any subtasks to roll up to them.
get_StartDateGets the date to start rendering from.
get_TextStylesGets the list of text styles that applied during rendering of a project view.
get_TimescaleGets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format.
get_TimescaleFitBehaviorGets a behavior which define how to align right end of the timescale with the page end.
get_UseGradientBrushGets a value indicating whether gradient brush should be used when rendering Gantt Chart.
get_ViewGets a list of the view columns to render ( GanttChartColumn ). If not set then task ids, task names, start and finish are rendered only. If both View and ViewSettings properties are set, columns from View overrides columns from ViewSettings.
get_ViewSettingsGets a view ( View ) to render. You can use this options to explicitly specify which view should be saved to PDF, HTML or Image formats. If this property is set, Visualization::PresentationFormat property is ignored when project is saved. View should be from one of the following screen (( Aspose::Tasks::View::Screen )): (Gantt, TaskSheet, TaskUsage, ResourceSheet, ResourceUsage)
set_BarStylesSets the list of the instances of the BarStyle class that appear in project view.
set_CustomPageSizeSets the custom page size in points (1 point = 1/72 of inch).
set_DrawNonWorkingTimeSets a value indicating whether non-working time should be drawn (Default value is TRUE).
set_EndDateSets a date to finish rendering to.
set_FitContentSets a value indicating whether row height should be increased to fit its content.
set_FitTimescaleToEndOfPageSets whether a calendar section of a view should be rendered to the end (right side) of the last page. If value is false, calendar section is rendered exactly to EndDate, even there is an empty space on a page.
set_GridlinesSets a list of Gridline that appear in project view.
set_IsPortraitSets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.
set_LegendDrawingOptionsSets a value which define how to render a legend. Default value is LegendDrawingOptions.OnEveryPage.
set_LegendItemsSets an array of PageLegendItem which define which bars should be rendered in page legend. If null, the default items are rendered.
set_MarkCriticalTasksSets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
set_NonWorkingTimeColorSets the non-working time color.
set_PageSizeSets the size of page to be rendered (Default value is PageSize.A4).
set_PresentationFormatSets the PresentationFormat in which the document will be saved.
set_RenderToSinglePageSets a value indicating whether a project should be rendered to a single page when project is saved in graphical format. The page size will be changed so the rendered project can be fit on one page.
set_RollUpGanttBarsSets a value indicating whether subtasks on the summary task bar should be marked. For subtasks, the Rollup field indicates whether information on the subtask Gantt bars will be rolled up to the summary task bar. For summary tasks, the Rollup field indicates whether the summary task bar displays rolled up bars. You must have the Rollup field for summary tasks set to Yes for any subtasks to roll up to them.
set_StartDateSets the date to start rendering from.
set_TextStylesSets the list of text styles that applied during rendering of a project view.
set_TimescaleSets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format.
set_TimescaleFitBehaviorSets a behavior which define how to align right end of the timescale with the page end.
set_UseGradientBrushSets a value indicating whether gradient brush should be used when rendering Gantt Chart.
set_ViewSets a list of the view columns to render ( GanttChartColumn ). If not set then task ids, task names, start and finish are rendered only. If both View and ViewSettings properties are set, columns from View overrides columns from ViewSettings.
set_ViewSettingsSets a view ( View ) to render. You can use this options to explicitly specify which view should be saved to PDF, HTML or Image formats. If this property is set, Visualization::PresentationFormat property is ignored when project is saved. View should be from one of the following screen (( Aspose::Tasks::View::Screen )): (Gantt, TaskSheet, TaskUsage, ResourceSheet, ResourceUsage)