TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetRtfDocInfo

Retrieve the header information about the document.

int TerGetRtfDocInfo( type, text)
int type;Information type. Use one of the following constants:
INFO_TITLE Document title
INFO_SUBJECTSubject
INFO_AUTHOR Author
INFO_MANAGERManager
INFO_COMPANYCompany
INFO_OPERATOROperator
INFO_CATEGORYCategory
INFO_KEYWORDSKeywords
INFO_COMMENTComment
INFO_DOCCOMMAdditional comment
INFO_HLINKBASEHyperlink base path
String text;(output) Information text. Set to null to simply retrieve the length of the information text.

Return Value: When successful, this function returns the length of the information text, otherwise it returns 0. It also returns the information text using the 'text' argument.