scripting:api:text-document:is-protected

IsProtected

Method of ITextDocument

Check, if document point inside of protected area

var pbResult = TextDocument.IsProtected(pt);
pbResult = TextDocument.IsProtected pt
VARIANT_BOOL bResult;
HRESULT hr = TextDocument.IsProtected(pt, &bResult);