TE Edit Control Win32 / Win64 Help
Product page

TerSetRtfDocInfo

Set the header information about the document.

BOOL TerSetRtfDocInfo(hWnd, type, text)
HWND hWnd;Handle of the window to be accessed
int type;Information type. Please refer to the TerGetRtfDocInfo function for the constant values for this argument.
LPBYTE text;Information text to set.

Comment: Information text specified by this function is saved with the document, only if the document is saved in the RTF format. This information is not saved in the native format document.

Return Value: This function returns TRUE when successful, otherwise it returns FALSE.