SDL Wiki
(This function is part of SDL_rtf, a separate library from SDL.)

RTF_GetSubject

Get the subject of an RTF document.

Syntax

const char * RTF_GetSubject(RTF_Context *ctx);

Function Parameters

ctx

the RTF context to query.

Return Value

Returns the document subject in UTF-8 encoding.

Remarks

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.

Version

This function is available since SDL_rtf 2.0.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.