PrimaveraSaveOptions Class |
Namespace: Aspose.Tasks.Saving
The PrimaveraSaveOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | PrimaveraSaveOptions |
Initializes a new instance of the PrimaveraSaveOptions class.
|
Name | Description | |
---|---|---|
![]() ![]() | ActivityIdIncrement |
Gets or sets the increment used in renumbering of activity IDs.
|
![]() ![]() | ActivityIdPrefix |
Gets or sets the prefix used in renumbering of activity IDs.
|
![]() ![]() | ActivityIdSuffix |
Gets or sets the suffix used in renumbering of activity IDs.
|
![]() ![]() | BarStyles |
Gets or sets the list of the instances of the BarStyle class that appear in project view.
(Inherited from SaveOptions.) |
![]() ![]() | CustomPageSize |
Gets or sets the custom page size in points (1 point = 1/72 of inch).
(Inherited from SaveOptions.) |
![]() ![]() | DrawNonWorkingTime |
Gets or sets a value indicating whether non-working time should be drawn (Default value is TRUE).
(Inherited from SaveOptions.) |
![]() ![]() | EndDate |
Gets or sets a date to finish rendering to.
(Inherited from SaveOptions.) |
![]() ![]() | FitContent |
Gets or sets a value indicating whether row height should be increased to fit its content.
(Inherited from SaveOptions.) |
![]() ![]() | Gridlines |
Gets or sets a list of Gridline that appear in project view.
(Inherited from SaveOptions.) |
![]() ![]() | LegendOnEachPage |
Gets or sets a value indicating whether legend should be shown on each page (Default value is TRUE).
(Inherited from SaveOptions.) |
![]() ![]() | MarkCriticalTasks |
Gets or sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
(Inherited from SaveOptions.) |
![]() ![]() | NonWorkingTimeColor |
Gets or sets the non-working time color.
(Inherited from SaveOptions.) |
![]() ![]() | PageCount |
Gets or sets the number of pages of project.
(Inherited from SaveOptions.) |
![]() ![]() | PageSize |
Gets or sets the size of page to be rendered (Default value is PageSize.A4).
(Inherited from SaveOptions.) |
![]() ![]() | PresentationFormat |
Gets or sets the PresentationFormat in which the document will be saved.
(Inherited from SaveOptions.) |
![]() ![]() | RenderToSinglePage |
Gets or 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.
(Inherited from SaveOptions.) |
![]() ![]() | RenumberActivityIds |
Gets or sets a value indicating whether is need to renumbers activity IDs.
|
![]() ![]() | RollUpGanttBars |
Gets or 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.
(Inherited from SaveOptions.) |
![]() ![]() | SaveFormat |
Gets or sets the format in which the document will be saved if this save options object is used.
(Inherited from SaveOptions.) |
![]() ![]() | StartDate |
Gets or sets the date to start rendering from.
(Inherited from SaveOptions.) |
![]() ![]() | TasksComparer |
Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart.
(Inherited from SaveOptions.) |
![]() ![]() | TasksFilter |
Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
(Inherited from SaveOptions.) |
![]() ![]() | TextStyles |
Gets or sets the list of the instances of the TextStyle class that appear in project view.
(Inherited from SaveOptions.) |
![]() ![]() | Timescale |
Gets or sets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format.
(Inherited from SaveOptions.) |
![]() ![]() | UseGradientBrush |
Gets or sets a value indicating whether gradient brush should be used when rendering Gantt Chart.
(Inherited from SaveOptions.) |
![]() ![]() | View |
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.
If both View and ViewSettings properties are set, columns from View overrides columns from ViewSettings.
(Inherited from SaveOptions.) |
![]() ![]() | ViewSettings |
Gets or 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, PresentationFormat property is ignored when project is saved.
View should be from one of the following screen ((Screen)): (Gantt, TaskSheet, TaskUsage, ResourceSheet, ResourceUsage)
(Inherited from SaveOptions.) |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
var project = new Project(DataDir + "EstimatedMilestoneTasks.mpp"); // create Primavera save options and tune them var options = new PrimaveraSaveOptions { // define prefix and suffix of an activity ActivityIdPrefix = "TEST", ActivityIdSuffix = 10000, // control renumbering of activities ActivityIdIncrement = 5, RenumberActivityIds = true }; project.Save(OutDir + "WorkWithPrimaveraSaveOptions_out.xer", options);