SaveOptions
Contents
[
Hide
]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
| Name | Description |
|---|---|
| get_BarStyles | Gets the list of the instances of the BarStyle class that appear in project view. |
| get_CustomPageSize | Gets the custom page size in points (1 point = 1/72 of inch). |
| get_DrawNonWorkingTime | Gets a value indicating whether non-working time should be drawn (Default value is TRUE). |
| get_EndDate | Gets a date to finish rendering to. |
| get_FitContent | Gets a value indicating whether row height should be increased to fit its content. |
| get_FitTimescaleToEndOfPage | Gets 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_Gridlines | Gets a list of Gridline that appear in project view. |
| get_IsPortrait | Gets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape. |
| get_LegendDrawingOptions | Gets a value which define how to render a legend. Default value is LegendDrawingOptions.OnEveryPage. |
| get_LegendItems | Gets an array of PageLegendItem which define which bars should be rendered in page legend. If null, the default items are rendered. |
| get_MarkCriticalTasks | Gets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). |
| get_NonWorkingTimeColor | Gets the non-working time color. |
| get_PageCount | Gets the number of pages of project. |
| get_PageSize | Gets the size of page to be rendered (Default value is PageSize.A4). |
| get_PresentationFormat | Gets the PresentationFormat in which the document will be saved. |
| get_RenderToSinglePage | Gets 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_RollUpGanttBars | Gets 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_StartDate | Gets the date to start rendering from. |
| get_TextStyles | Gets the list of text styles that applied during rendering of a project view. |
| get_Timescale | Gets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format. |
| get_TimescaleFitBehavior | Gets a behavior which define how to align right end of the timescale with the page end. |
| get_UseGradientBrush | Gets a value indicating whether gradient brush should be used when rendering Gantt Chart. |
| get_View | Gets 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_ViewSettings | Gets 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_BarStyles | Sets the list of the instances of the BarStyle class that appear in project view. |
| set_CustomPageSize | Sets the custom page size in points (1 point = 1/72 of inch). |
| set_DrawNonWorkingTime | Sets a value indicating whether non-working time should be drawn (Default value is TRUE). |
| set_EndDate | Sets a date to finish rendering to. |
| set_FitContent | Sets a value indicating whether row height should be increased to fit its content. |
| set_FitTimescaleToEndOfPage | Sets 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_Gridlines | Sets a list of Gridline that appear in project view. |
| set_IsPortrait | Sets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape. |
| set_LegendDrawingOptions | Sets a value which define how to render a legend. Default value is LegendDrawingOptions.OnEveryPage. |
| set_LegendItems | Sets an array of PageLegendItem which define which bars should be rendered in page legend. If null, the default items are rendered. |
| set_MarkCriticalTasks | Sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). |
| set_NonWorkingTimeColor | Sets the non-working time color. |
| set_PageSize | Sets the size of page to be rendered (Default value is PageSize.A4). |
| set_PresentationFormat | Sets the PresentationFormat in which the document will be saved. |
| set_RenderToSinglePage | Sets 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_RollUpGanttBars | Sets 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_StartDate | Sets the date to start rendering from. |
| set_TextStyles | Sets the list of text styles that applied during rendering of a project view. |
| set_Timescale | Sets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format. |
| set_TimescaleFitBehavior | Sets a behavior which define how to align right end of the timescale with the page end. |
| set_UseGradientBrush | Sets a value indicating whether gradient brush should be used when rendering Gantt Chart. |
| set_View | Sets 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_ViewSettings | Sets 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) |