Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Methods for rich-text variables

Updated on October 19, 2022

Use these methods to manipulate and format rich text.

Methods

MethodDescriptionParametersResult type
ConvertToRtfConverts plain text string into rich-text-encoded string. This is a utility method and does not operate on the variable.string valuestring
ConvertToStringConverts variable which is a rich-text-encoded string into a plain-text string.string valuestring
EqualsCompares a value to the variable value. Returns True if equal.Boolean
IsRtfBoolean
ResetStateResets all component properties to their initial values.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us