Class MPPSaveOptions

Class MPPSaveOptions

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

Allows to specify additional options when saving project data to MPP.

public class MPPSaveOptions : SimpleSaveOptions

Inheritance

objectSimpleSaveOptionsMPPSaveOptions

Inherited Members

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

MPPSaveOptions()

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

public MPPSaveOptions()

Properties

ClearVba

Gets or sets a value indicating whether to remove existing VBA macros data when saving a project to MPP format.

public bool ClearVba { get; set; }

Property Value

bool

ProtectionPassword

Gets or sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats. Null value indicates that the project file is not protected.

public string ProtectionPassword { get; set; }

Property Value

string

RemoveInvalidAssignments

Gets or sets a value indicating whether to remove invalid resource assignments when saving to MPP. MS Project creates an empty resource assignment for each task. Set this flag to true to remove them on save.

public bool RemoveInvalidAssignments { get; set; }

Property Value

bool

WriteFilters

Gets or sets a value indicating whether to write filter data when saving a project to MPP for format. Filter data includes Project.TaskFilters and Project.ResourceFilters collections.

public bool WriteFilters { get; set; }

Property Value

bool

Remarks

Currently supported for MSP 2010 or newer formats.

WriteGroups

Gets or sets a value indicating whether to write groups data when saving a project to MPP for format. Group data includes Project.TaskGroups and Project.ResourceGroups collections.

public bool WriteGroups { get; set; }

Property Value

bool

WriteViewData

Gets or sets a value indicating whether to write view data when saving a project to MPP format. View data includes Project.Views, Filters and Tables collections.

public bool WriteViewData { get; set; }

Property Value

bool