ExportPageRTFA

Text extraction and conversion

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to ExportPageRTF and string arguments are interpreted using the current SetAnsiMode code page

Extracts a single page into a self-contained RTF document with its own font and colour table, using the same structured text model as the document-level RTF export

Syntax

Delphi

Function DLExportPageRTFA(InstanceID, Page, Options: Integer): PAnsiChar;

DLL

const char* DLExportPageRTFA(int InstanceID, int Page, int Options);

Return values

RTFThe complete single-page RTF document
EmptyThe page number is out of range or extraction failed

See also

ExportDocumentRTF, ExportPageMarkdown