Multiple font colors in the same paragraph

I have a requirement where I need to have multiple font colors in the same paragraph. The resuklt needs to look like this:

image.png (9.3 KB)

I can create TextFragment objects that are correct, but I need them to be a part of the same paragraph.

Thanks

@wchiou

Thank you for contacting support.

I would like to share with you that you may not set different font properties in same paragraph while adding text to it. However, you may change any font properties once the text is added to PDF document. You can search for any word or set of words and then change any properties as per your requirements. Please visit below help topics for your kind reference.

.NET Article: Search and Get Text from Pages of a PDF Document
Java Article: Search and Get Text from Pages of a PDF Document

I hope this will be helpful. Please let us know if you need any further assistance.