Tsk.NotesRTF
Tsk.NotesRTF field
The text notes in RTF format. Supported for MPP formats only.
public static readonly Key<string, TaskKey> NotesRTF;
Examples
Shows how to read/write Tsk.NotesRTF property.
var project = new Project();
var task = project.RootTask.Children.Add("Task");
const string rtf = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset134 SimSun;}{\f1\fnil\fcharset0 Calibri;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs22\'d4\'e7\'c9\'cf\'ba\'c3\f1\par
}
"; // 早上好
task.Set(Tsk.NotesRTF, rtf);
Console.WriteLine("Notes RTF: " + task.Get(Tsk.NotesRTF));
See Also
- struct Key<T,K>
- enum TaskKey
- class Tsk
- namespace Aspose.Tasks
- assembly Aspose.Tasks