THotPDF.SetLoadedFreeTextRichText Method

Rebuilds the appearance and plain contents of an existing FreeText annotation from UTF-8 rich text and an optional default style

Declaration

procedure SetLoadedFreeTextRichText(PageIndex, AnnotationIndex: Integer; const RichContent: AnsiString; const DefaultStyle: AnsiString = '');

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the loaded page
AnnotationIndexIndex of the existing FreeText annotation on that page
RichContentXML fragment written to /RC
DefaultStyleOptional /DS default style string applied to the rich content

Return value

This member does not return a value

Usage notes

Related APIs