DocSetTitleΒΆ

DocSetTitle sets the document title.

bool = DocSetTitle(hDoc, ssTitle)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hDoc

Identifies the document.

ssTitle

ssTitle is a string to be used as the document title. The title can only be set for a new file. To set the title for an already saved file, you must first call DocSetPathName with an empty path name.

id-131445