Hello Chi,
First of all, I'd recommend you to upgrade to the latest Q2 SP1 release if you haven't already done so. The SetText method was deprecated and instead of it you can use the TxtFormatProvider.Import(string input) method. It does work with string.Empty scenario. Also it has a very handy method to export a document to a string. Here's a snippet on how to do that:
I hope this answers your questions. Let us know if you have any other.
Kind regards,
Ivailo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items