Get the title of an RTF document.
Defined in <SDL3_rtf/SDL_rtf.h>
const char * RTF_GetTitle(RTF_Context *ctx);
RTF_Context * | ctx | the RTF context to query. |
(const char *) Returns the document title in UTF-8 encoding.
The returned string is part of the RTF_Context, and should not be modified or freed by the application. The pointer remains valid until the RTF_Context is freed.
This function is available since SDL_rtf 3.0.0.