GetBookmark

Method of IDocument

Reads bookmark from specific line

  • long nLine
  • long nBookmark = -1 (optional)

Return Value

JavaScript

var pbResult = Document.GetBookmark(nLine, nBookmark);

Visual Basic Script

pbResult = Document.GetBookmark nLine, nBookmark

C++

VARIANT_BOOL bResult;
HRESULT hr = Document.GetBookmark(nLine, nBookmark, &bResult);