AddMarker

Method of ITextDocument

Add new marker to the document

Return Value

JavaScript

var ppMarker = TextDocument.AddMarker(pPosition, nImage, strDescription, nType);

Visual Basic Script

ppMarker = TextDocument.AddMarker pPosition, nImage, strDescription, nType

C++

CComPtr<IMarker> pMarker;
HRESULT hr = TextDocument.AddMarker(pPosition, nImage, strDescription, nType, &pMarker);