IsIntersects

Method of IRange

Checks if position intersects range (greater or equal start and less or equal than end position)

Return Value

JavaScript

var pbResult = Range.IsIntersects(pPosition);

Visual Basic Script

pbResult = Range.IsIntersects pPosition

C++

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