We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Displaying RichText

Hi,

We are currently generating lot of reports using ASPOSE.Words.

We have came across a requirement where we need to display RichText edited on screen in Word report.

Text will be in following format:

Received
Sample Text
To be displayed as:
Sample Text

I appreciate any help on this…

Regards.

Hi Sumit,

Thanks for your interest in Aspose.

Depending upon the tags from this RichText source you might beable to simply insert these tags using DocumentBuilder.

For example:

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

builder.InsertHtml(sourceString);

Could you please post some more information about which control you are using and prehaps a full example.

Thanks,

Adam,

InsertHTML worked just fine.

Thanks.