Hi,
Thank you a lot for your interest in Aspose.Tasks.
You can implement the task split using resource assignment SplitTask method. See a sample below:
<span lang=“EN-US” style=“font-size:10.0pt;font-family:“Courier New”;color:#2B91AF;
mso-ansi-language:EN-US;mso-no-proof:yes”>
<span lang=“EN-US” style=“font-size:10.0pt;font-family:“Courier New”;color:#2B91AF;
mso-ansi-language:EN-US;mso-no-proof:yes”> ProjectReader<span lang=“EN-US” style=“font-size:10.0pt;font-family:“Courier New”;mso-ansi-language:EN-US;
mso-no-proof:yes”> reader = new ProjectReader();
<span lang=“EN-US” style=“font-size:10.0pt;font-family:“Courier New”;mso-ansi-language:EN-US;
mso-no-proof:yes”> Project project = reader.Read(“Project1.xml”);
Task task = project.GetTaskByUid(1);
foreach(ResourceAssignment
ra in
project.GetResourceAssignmentsByTask(task))
ra.SplitTask(new DateTime(2010,
10, 14), new DateTime(2010,
10, 20), project.Calendar);