Skip to content

Instantly share code, notes, and snippets.

@aspose-tasks
aspose-tasks / Aspose.Tasks-for-Cloud-for-PHP
Last active March 26, 2017 12:37
The GIST contains PHP code snippets for examples of Aspose.Tasks for Cloud.
Aspose.Tasks-for-Cloud-for-PHP
@aspose-tasks
aspose-tasks / Aspose.Tasks-for-Cloud-for-Objective-C
Last active March 26, 2017 12:58
Aspose.Tasks-for-Cloud-for-Objective-C
The GIST contains Objective C code snippets for examples of Aspose.Tasks for Cloud.
// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Java
public static final String apiKey="a165298dc077f8852d5eb6e5bf49310d";
public static final String appSID="1c7a12ca-efa8-466e-b83d-234d9d5e2309";
@aspose-tasks
aspose-tasks / AddAssignmentToProject.py
Last active February 28, 2017 08:33
Aspose_Tasks_Python_GISTS
import asposetaskscloud
from asposetaskscloud.TasksApi import TasksApi
from asposetaskscloud.TasksApi import ApiException
import asposestoragecloud
from asposestoragecloud.StorageApi import StorageApi
from asposestoragecloud.StorageApi import ResponseMessage
apiKey = "XXXXX" #sepcify App Key
appSid = "XXXXX" #sepcify App SID
// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Cloud
public static final String apiKey="a165298dc077f8852d5eb6e5bf49310d";
public static final String appSID="1c7a12ca-efa8-466e-b83d-234d9d5e2309";
@aspose-tasks
aspose-tasks / Aspose.Tasks-for-Cloud-for-Ruby
Last active April 7, 2017 07:25
Aspose.Tasks-for-Cloud-for-Ruby
The GIST contains Ruby code snippets for examples of Aspose.Tasks for Cloud.
@aspose-tasks
aspose-tasks / Aspose-Tasks-Cloud
Last active April 13, 2017 05:50
This Gist contains .NET code snippets for examples of Aspose.Tasks for Cloud SDK.
Aspose-Tasks-Cloud
// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Java
// The path to the documents directory.
String dataDir = Utils.getDataDir(AddRemoveCalendarExceptions.class);
Project project = new Project(dataDir + "input.mpp");
// Remove an exception
Calendar cal = project.getCalendars().toList().get(0);
if (cal.getExceptions().getCount() > 1) {
CalendarException exc = cal.getExceptions().toList().get(0);
@aspose-tasks
aspose-tasks / Examples-VisualBasic
Last active December 14, 2016 06:51
This Gist contains VisualBasic code snippets for examples of Aspose.Tasks.
Examples-VisualBasic
@aspose-tasks
aspose-tasks / Examples-CSharp-Articles-AlignCellContents-AlignCellContents.cs
Last active May 11, 2020 16:18
This Gist contains CSharp code snippets for examples of Aspose.Tasks.
// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-.NET
Project project = new Project(dataDir + "Project2.mpp");
SaveOptions options = new PdfSaveOptions();
options.Timescale = Timescale.Months;
options.View = ProjectView.GetDefaultGanttChartView();
GanttChartColumn column1 = options.View.Columns[2] as GanttChartColumn;
column1.StringAlignment = StringAlignment.Center;
column1 = options.View.Columns[3] as GanttChartColumn;
column1.StringAlignment = StringAlignment.Far;