AddMarker

Method of IDocument

Add new marker to the document

Return Value

JavaScript

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

Visual Basic Script

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

C++

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