Type of gridline.
Namespace:
Aspose.Tasks.Visualization
Assembly:
Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
SyntaxPublic Enumeration GridlineType
public enum class GridlineType
Members
| Member name | Value | Description |
---|
| GanttRow | 0 |
Indicates Gridline of a gantt row grid line type.
|
| TopTierColumn | 1 |
Indicates Gridline of top tier column grid line type.
|
| BottomTierColumn | 2 |
Indicates Gridline of bottom tier column grid line type.
|
| SheetRow | 3 |
Indicates Gridline of a sheet row grid line type.
|
| SheetColumn | 4 |
Indicates Gridline of a sheet column grid line type.
|
| UsageRow | 5 |
Indicates Gridline of a usage row grid line type.
|
| UsageColumn | 6 |
Indicates Gridline of a usage column grid line type.
|
| GanttTitleVertical | 7 |
Indicates Gantt title vertical grid line type.
|
| GanttTitleHorizontal | 8 |
Indicates Gantt title horizontal grid line type.
|
| BarRows | 9 |
Indicates Bar rows grid line type.
|
| GanttProjectStart | 10 |
Indicates Gantt project start grid line type.
|
| GanttProjectFinish | 11 |
Indicates Gantt project finish grid line type.
|
| GanttStatusDate | 12 |
Indicates Gantt status date grid line type.
|
| GanttCurrentDate | 13 |
Indicates Gantt current date grid line type.
|
| GanttPageBreaks | 14 |
Indicates Gantt page breaks grid line type.
|
| MiddleTierColumn | 15 |
Indicates Gridline of middle tier column grid line type.
|
ExamplesShows how to work with gridlines while save in visual formats.
var project = new Project(DataDir + "CreateProject2.mpp");
var options = new ImageSaveOptions(SaveFileFormat.PNG);
var gridline = new Gridline
{
GridlineType = GridlineType.GanttRow,
Pattern = LinePattern.Dashed
};
options.Gridlines = new List<Gridline>();
options.Gridlines.Add(gridline);
project.Save(OutDir + "PrintProjectPagesToSeparateFiles_out.png", options);
See Also