Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class LevelingOptions
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.LevelingOptions class. Allows to specify parameters of resource leveling
type: docs
weight: 930
weight: 920
url: /net/aspose.tasks.leveling/levelingoptions/
---
## LevelingOptions class
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.leveling/levelingorder/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum LevelingOrder
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.LevelingOrder enum. Defines the possible values of leveling order
type: docs
weight: 940
weight: 930
url: /net/aspose.tasks.leveling/levelingorder/
---
## LevelingOrder enumeration
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.leveling/levelingresult/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class LevelingResult
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.LevelingResult class. Represents the results of resource leveling
type: docs
weight: 950
weight: 940
url: /net/aspose.tasks.leveling/levelingresult/
---
## LevelingResult class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class ResourceLeveler
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.ResourceLeveler class. Contains resource leveling methods
type: docs
weight: 960
weight: 950
url: /net/aspose.tasks.leveling/resourceleveler/
---
## ResourceLeveler class
Expand Down
1 change: 1 addition & 0 deletions english/net/aspose.tasks.primavera/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Contains classes necessary to work with Primavera-specific formats (XER, Primave
| Enumeration | Description |
| --- | --- |
| [PrimaveraActivityType](./primaveraactivitytype/) | Specifies type of Primavera activity. |
| [PrimaveraConstraintType](./primaveraconstrainttype/) | Specifies a type of activity's constraint. |
| [PrimaveraDurationType](./primaveradurationtype/) | Specifies duration type of Primavera activity. |
| [PrimaveraPercentCompleteType](./primaverapercentcompletetype/) | Specifies value of '% Complete Type' field for Primavera activities. |
| [PrimaveraRelationshipLagCalendar](./primaverarelationshiplagcalendar/) | Specifies which calendar to use for scheduling Relationship Lag in Primavera projects. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum PrimaveraActivityType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraActivityType enum. Specifies type of Primavera activity
type: docs
weight: 1250
weight: 1240
url: /net/aspose.tasks.primavera/primaveraactivitytype/
---
## PrimaveraActivityType enumeration
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Enum PrimaveraConstraintType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraConstraintType enum. Specifies a type of activitys constraint
type: docs
weight: 1250
url: /net/aspose.tasks.primavera/primaveraconstrainttype/
---
## PrimaveraConstraintType enumeration

Specifies a type of activity's constraint.

```csharp
public enum PrimaveraConstraintType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| None | `0` | Not specified or not applicable. |
| FinishOn | `1` | 'Finish On' type |
| FinishOnOrAfter | `2` | 'Finish On or After' type |
| FinishOnOrBefore | `3` | 'Finish On or Before' type |
| MandatoryFinish | `4` | 'Mandatory Finish' type |
| MandatoryStart | `5` | 'Mandatory Start' type |
| StartOn | `6` | 'Start On' type |
| StartOnOrAfter | `7` | 'Start On or After' type |
| StartOnOrBefore | `8` | 'Start On or Before' type |
| AsLateAsPossible | `9` | 'As Late As Possible' type |

### See Also

* namespace [Aspose.Tasks.Primavera](../../aspose.tasks.primavera/)
* assembly [Aspose.Tasks](../../)


1 change: 1 addition & 0 deletions english/net/aspose.tasks.saving/mppsaveoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class MPPSaveOptions : SimpleSaveOptions
| [TasksFilter](../../aspose.tasks.saving/simplesaveoptions/tasksfilter/) { get; set; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [WriteFilters](../../aspose.tasks.saving/mppsaveoptions/writefilters/) { get; set; } | 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. |
| [WriteGroups](../../aspose.tasks.saving/mppsaveoptions/writegroups/) { get; set; } | 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. |
| [WriteVba](../../aspose.tasks.saving/mppsaveoptions/writevba/) { get; set; } | Gets or sets a value indicating whether to update existing VBA macros data in MPP file. Currently writing of VbaModule.SourceCode is supported. |
| [WriteViewData](../../aspose.tasks.saving/mppsaveoptions/writeviewdata/) { get; set; } | 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. |

## Examples
Expand Down
50 changes: 50 additions & 0 deletions english/net/aspose.tasks.saving/mppsaveoptions/writevba/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: MPPSaveOptions.WriteVba
second_title: Aspose.Tasks for .NET API Reference
description: MPPSaveOptions property. Gets or sets a value indicating whether to update existing VBA macros data in MPP file. Currently writing of VbaModule.SourceCode is supported
type: docs
weight: 70
url: /net/aspose.tasks.saving/mppsaveoptions/writevba/
---
## MPPSaveOptions.WriteVba property

Gets or sets a value indicating whether to update existing VBA macros data in MPP file. Currently writing of VbaModule.SourceCode is supported.

```csharp
public bool WriteVba { get; set; }
```

## Examples

Shows how to add/delete VBA macros to/from the existing VbaProject in MPP file.

```csharp
var project = new Project(DataDir + "VbaProject.mpp");

var newModule = VbaModule.CreateProceduralModule("Module20");
newModule.SourceCode = @"Sub TestMacro()
#If conUnicode Then
Dim p As Project
Set p = Application.ActiveProject
MsgBox ""This is a message from a new macro. Current project: "" & p.Name
#End If
End Sub

Private Sub Project_BeforePrint(ByVal pj As Project)

End Sub";
project.VbaProject.Modules.Add(newModule);

var moduleToDelete = project.VbaProject.Modules["EventCode"];
project.VbaProject.Modules.Remove(moduleToDelete);

project.Save(OutDir + "VbaProject.AddedModule.mpp", new MPPSaveOptions() { WriteVba = true });
```

### See Also

* class [MPPSaveOptions](../)
* namespace [Aspose.Tasks.Saving](../../mppsaveoptions/)
* assembly [Aspose.Tasks](../../../)


Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: MPPSaveOptions.WriteViewData
second_title: Aspose.Tasks for .NET API Reference
description: MPPSaveOptions property. 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
type: docs
weight: 70
weight: 80
url: /net/aspose.tasks.saving/mppsaveoptions/writeviewdata/
---
## MPPSaveOptions.WriteViewData property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Delegate AssignmentToColumnTextConverter
second_title: Aspose.Tasks for .NET API Reference
description: ResourceAssignment data to columns string converter
type: docs
weight: 2830
weight: 2840
url: /net/aspose.tasks.visualization/assignmenttocolumntextconverter/
---
## AssignmentToColumnTextConverter delegate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class AssignmentViewColumn
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.AssignmentViewColumn class. Projects view class
type: docs
weight: 2840
weight: 2850
url: /net/aspose.tasks.visualization/assignmentviewcolumn/
---
## AssignmentViewColumn class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum BarItemType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.BarItemType enum. Item type to change a bar style for
type: docs
weight: 2850
weight: 2860
url: /net/aspose.tasks.visualization/baritemtype/
---
## BarItemType enumeration
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/barshape/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum BarShape
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.BarShape enum. Shape of a bar rectangle
type: docs
weight: 2860
weight: 2870
url: /net/aspose.tasks.visualization/barshape/
---
## BarShape enumeration
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/barstyle/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class BarStyle
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.BarStyle class. Change the visual style of the bar for the item in the project view
type: docs
weight: 2870
weight: 2880
url: /net/aspose.tasks.visualization/barstyle/
---
## BarStyle class
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/border/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum Border
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.Border enum. Specifies the type borders
type: docs
weight: 2880
weight: 2890
url: /net/aspose.tasks.visualization/border/
---
## Border enumeration
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/datelabel/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum DateLabel
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.DateLabel enum. Specifies the display format for date and time labels in a timescale
type: docs
weight: 2890
weight: 2900
url: /net/aspose.tasks.visualization/datelabel/
---
## DateLabel enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Delegate DateTimeConverter
second_title: Aspose.Tasks for .NET API Reference
description: Represents a converter method to convert date to string in view timescale tiers
type: docs
weight: 2900
weight: 2910
url: /net/aspose.tasks.visualization/datetimeconverter/
---
## DateTimeConverter delegate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum FillPattern
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.FillPattern enum. Fill pattern used in middle shape of a gantt bar
type: docs
weight: 2910
weight: 2920
url: /net/aspose.tasks.visualization/fillpattern/
---
## FillPattern enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class FontDescriptor
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.FontDescriptor class. Represents font information
type: docs
weight: 2920
weight: 2930
url: /net/aspose.tasks.visualization/fontdescriptor/
---
## FontDescriptor class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum FontStyles
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.FontStyles enum. Specifies style information applied to text
type: docs
weight: 2930
weight: 2940
url: /net/aspose.tasks.visualization/fontstyles/
---
## FontStyles enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum GanttBarEndShape
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttBarEndShape enum. Represents end shape in bars and progress points in progress lines
type: docs
weight: 2940
weight: 2950
url: /net/aspose.tasks.visualization/ganttbarendshape/
---
## GanttBarEndShape enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum GanttBarFillPattern
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttBarFillPattern enum. A shapes fill pattern
type: docs
weight: 2950
weight: 2960
url: /net/aspose.tasks.visualization/ganttbarfillpattern/
---
## GanttBarFillPattern enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum GanttBarMiddleShape
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttBarMiddleShape enum. Specifies the middle shape of a bar
type: docs
weight: 2960
weight: 2970
url: /net/aspose.tasks.visualization/ganttbarmiddleshape/
---
## GanttBarMiddleShape enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum GanttBarShowFor
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttBarShowFor enum. Represents categories of tasks used when customizing Bar Styles of Gantt chart
type: docs
weight: 2970
weight: 2980
url: /net/aspose.tasks.visualization/ganttbarshowfor/
---
## GanttBarShowFor enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class GanttBarStyle
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttBarStyle class. Represents a bar style used by MSP in Gantt Chart view
type: docs
weight: 2980
weight: 2990
url: /net/aspose.tasks.visualization/ganttbarstyle/
---
## GanttBarStyle class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum GanttBarType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttBarType enum. Specifies the bar type
type: docs
weight: 2990
weight: 3000
url: /net/aspose.tasks.visualization/ganttbartype/
---
## GanttBarType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class GanttChartColumn
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GanttChartColumn class. Projects view class
type: docs
weight: 3000
weight: 3010
url: /net/aspose.tasks.visualization/ganttchartcolumn/
---
## GanttChartColumn class
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/gridline/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class Gridline
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.Gridline class. The horizontal or vertical line that appears in the project view
type: docs
weight: 3010
weight: 3020
url: /net/aspose.tasks.visualization/gridline/
---
## Gridline class
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/gridlines/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class Gridlines
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.Gridlines class. Represents gridlines that appear in a GanttChart view
type: docs
weight: 3030
weight: 3040
url: /net/aspose.tasks.visualization/gridlines/
---
## Gridlines class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum GridlineType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.GridlineType enum. Type of gridline
type: docs
weight: 3020
weight: 3030
url: /net/aspose.tasks.visualization/gridlinetype/
---
## GridlineType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class HeaderFooterInfo
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.HeaderFooterInfo class. Represents visual content of the header footer or legend which is used for printing rendering of views
type: docs
weight: 3040
weight: 3050
url: /net/aspose.tasks.visualization/headerfooterinfo/
---
## HeaderFooterInfo class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum HorizontalAlignment
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.HorizontalAlignment enum. Specifies how an object or text is horizontally aligned relative to another object
type: docs
weight: 3050
weight: 3060
url: /net/aspose.tasks.visualization/horizontalalignment/
---
## HorizontalAlignment enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum HorizontalStringAlignment
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.HorizontalStringAlignment enum. Specifies the alignment of a text string relative to its layout rectangle
type: docs
weight: 3060
weight: 3070
url: /net/aspose.tasks.visualization/horizontalstringalignment/
---
## HorizontalStringAlignment enumeration
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.visualization/interval/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum Interval
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.Interval enum. Specifies recurring intervals to display progress lines at
type: docs
weight: 3080
weight: 3090
url: /net/aspose.tasks.visualization/interval/
---
## Interval enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Interface ITextStyleModificationCallback
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Visualization.ITextStyleModificationCallback interface. Represents a callback that is called before TextStyle is applied to a table cell
type: docs
weight: 3070
weight: 3080
url: /net/aspose.tasks.visualization/itextstylemodificationcallback/
---
## ITextStyleModificationCallback interface
Expand Down
Loading