In This Topic
The following code snippets demonstrate the code used for font functions:
Font Family
C# |
Copy Code
|
rtb.Selection.FontFamily = newFontFamily("Arial");
Font Size
rtb.Selection.TrimRuns();
foreach(varrun inrtb.Selection.Runs)
{
run.FontSize = size;
}
|