Hi Sudip,
Thank you for your patience,
As promised earlier, we have added support to change the font family collection in SfRichTextBoxAdv and the patch for this feature can be downloaded from the following link.
Recommended approach - exe will perform automatic configuration
Please find the patch setup from below location:
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location:
NuGet packages
Now you can change font family list through provided API. Please find the API and its usage details from the following table.
API
Class name |
Property name |
Type |
SfRichTextBoxAdv |
FontNames |
ObservableCollection<string> |
Code example
richTextBox.FontNames = new ObservableCollection<string>() { "Calibri", "Arial","Algerian" }; |
For more assistance, we have created a sample to demonstrate the same, which can be downloaded from the following link
Assembly Version: 17.4.0.46
Installation Directions:
This patch should replace the files “Syncfusion.SfRichTextBoxAdv.WPF” under the following folder.
$system drive:\Program Files (x86) \Syncfusion\Essential Studio\WPF\$Version # \precompiledassemblies\4.6
Eg : $system drive:\Program Files (x86)\Syncfusion\Essential Studio\WPF\ 17.4.0.46\precompiledassemblies\4.6
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location, or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
Note:
You can change how you receive bug fixes by navigating to the following link and updating your preferences.
Disclaimer:
Please note that we have created this patch for version 17.4.0.46 specifically to resolve the issues reported in this forum #150539. And we have plan to include this fix in our upcoming Volume 1 main release which will we estimated to delivery on mid of March 2020 tentatively.
If you have received other patches for the same version for other products, please apply all patches in the order received.
Please let us know if you have any other question.
Regards,
Premkumar