AddMarker

Method of ITextDocument

Description

Add new marker to the document

Parameters

Return Value

Syntax

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);

===== See Also ===== ITextDocument