SetBookmark

Method of IDocument

Sets bookmark for specific line

JavaScript

Document.SetBookmark(nLine, nBookmark, bToggle);

Visual Basic Script

Document.SetBookmark nLine, nBookmark, bToggle

C++

HRESULT hr = Document.SetBookmark(nLine, nBookmark, bToggle);