THPDFHeadlessDocument.GetRichTextFieldValue

function GetRichTextFieldValue(FieldIndex: Integer): UnicodeString;

Read the actual inherited RV text string or decoded UTF-8 text stream from an existing text field; return an empty string when no RV exists

Reject non-text fields and invalid RV object types; existing document stream and cancellation limits apply

Native rich-text field behavior · Document API