SelectByWindow Method (ISelectionManager) Send Feedback
See Also 
Result[out]
True if the specified entities in the selection window are selected, false if not
FirstPoint
First corner that defines the selection window
SecondPoint
Opposite corner that defines the selection window
Crossing

If set to... Then entities...
True

whose outlines

  • intersect the selection window
  • are within the selection window

are selected.

False whose outlines are within the selection window are selected.

Selects only the entities within the selection window or selects all of the entities within and that intersect the selection window.

Syntax

Visual Basic 
Function SelectByWindow( _
   ByVal FirstPoint As MathPoint, _
   ByVal SecondPoint As MathPoint, _
   ByVal Crossing As System.Boolean _
) As System.Boolean
C# 
System.bool SelectByWindow( 
   MathPoint FirstPoint,
   MathPoint SecondPoint,
   System.bool Crossing
)
JavaScript 
SelectByWindow( 
   FirstPoint : dsMathPoint,
   SecondPoint : dsMathPoint,
   Crossing : Boolean
) : Boolean
COM native C++ 
HRESULT SelectByWindow( 
   IMathPoint* FirstPoint,
   IMathPoint* SecondPoint,
   VARIANT_BOOL Crossing,
   VARIANT_BOOL* Result
) 
C++ 
DSRESULT SelectByWindow( 
   dsMathPoint* FirstPoint,
   dsMathPoint* SecondPoint,
   bool Crossing,
   bool* Result
) 

Parameters

FirstPoint
First corner that defines the selection window
SecondPoint
Opposite corner that defines the selection window
Crossing

If set to... Then entities...
True

whose outlines

  • intersect the selection window
  • are within the selection window

are selected.

False whose outlines are within the selection window are selected.

Result[out] or Return Value
True if the specified entities in the selection window are selected, false if not
 

See Also

Availability

DraftSight V1R4.0