IsInside

Method of IRange

Checks if position is inside of range (greater or equal start and less than end position)

Return Value

JavaScript

var pbResult = Range.IsInside(pPosition);

Visual Basic Script

pbResult = Range.IsInside pPosition

C++

VARIANT_BOOL bResult;
HRESULT hr = Range.IsInside(pPosition, &bResult);