THPDFHeadlessDocument.GetRichTextFieldValue

function GetRichTextFieldValue(FieldIndex: Integer): UnicodeString;

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

Non-text fields and invalid RV object types are rejected; the existing document stream and cancellation limits apply

Native rich-text field behaviour · Document API