SelectSubRegion Method

Selects a set of cells in a table.

See Also | Example

Signature

object.SelectSubRegion(wpt1, wpt2, wvwVec, wvwxVec, seltype, bIncludeCurrentSelection, rowMin, rowMax, colMin, colMax)

Object

Table
The object or objects this method applies to.

wpt1

Variant
3D point in WCS specifying the first corner point of the window box selection.

wpt2

Variant
3D point in WCS specifying the second corner point of the window box selection.

wvwvec

Variant
3D vector in WCS specifying the view direction of the selection.

wvwxvec

Variant
3D vector in WCS specifying the view orientation of the hit test.

seltype

AcSelectType enum; the selection type

acCrossing

Cross-selection type.

acWindow

Window-selection type.

bincludecurrentselection

Boolean
Indicates whether the selected cells returned will include currently selected cells and newly selected cells or only newly selected cells.

rowMin

Long
Zero-based lower bound of row index.

rowMax

Long
Zero-based upper bound of row index.

colMin

Long
Zero-based lower bound of column index.

colMax

Long
Zero-based upper bound of column index.

Remarks

The row and column index of the upper and lower bounds of the selected region are returned in rowMin, rowMax, colMin, and colMax.

 

   Comments?