PrimaveraSaveOptionsActivityIdPrefix Property

Gets or sets the prefix used in renumbering of activity IDs.

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.7
Syntax
public string ActivityIdPrefix { get; set; }

Property Value

Type: String
Examples
Shows how to work with <see cref="Aspose.Tasks.Saving.PrimaveraSaveOptions" />.
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);
See Also