Get the title of an RTF document.
const char * RTF_GetTitle(RTF_Context *ctx);
ctx | the RTF context to query. |
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.