Declaration
Automation:
void  AddText ( [in]   String  Text, [in]   bool  Unicode) ;
Native (C++):
HRESULT  AddText ( [in]   BSTR  Text, [in]   BOOL  Unicode) ;
Parameters
TextA string to be added.UnicodeTrue to treat string characters as UNICODE or False to treat them as ANSI.
Return Value
S_OK or standard OLE error code.
Remarks
Add textual data to a sequence. New data is appended to the end of the sequence.
Examples

Adding text

JavascriptCopy Code
var fdoc=new ActiveXObject("FileDocument.FileDocument");
var seq=fdoc.CreateSequence();

seq.AddText("<p>",false);