构选择集的方式枚举
[uuid(0B30E0A6-45A9-4BD9-AB82-411FDDAC085B), helpstring("McSelect")] enum McSelect { mcSelectionSetWindow = 0, mcSelectionSetCrossing = 1, mcSelectionSetFence = 2, mcSelectionSetPrevious = 3, mcSelectionSetLast = 4, mcSelectionSetAll = 5, mcSelectionSetWindowPolygon = 6, mcSelectionSetCrossingPolygon = 7, mcSelectionSetUserSelect = 8, mcSelectionImpliedSelectSelect = 9, mcSelectionHideobjectSetWindow = 20, mcSelectionHideobjectSetCrossing = 21, mcSelectionHideobjectSetUserSelect = 28, mcSelectionHideobjectSetWindowPolygon = 26, mcSelectionHideobjectSetCrossingPolygon = 27 };
MxDrawEnum.idl
成员 |
说明 |
mcSelectionSetWindow = 0 |
0,_W 由p1,p2框选实体,选择的实体必须全部在pt和p2组成的矩形框内 |
mcSelectionSetCrossing = 1 |
1,_C 由p1,p2交叉框选实体,实体在pt和p2组成的矩形框内或与矩形框边线相交都放入选择集 |
mcSelectionSetFence = 2 |
2,暂没有实现 |
mcSelectionSetPrevious = 3 |
3,暂没有实现 |
mcSelectionSetLast = 4 |
4,暂没有实现 |
mcSelectionSetAll = 5 |
5,_X 选择图中的所有实体 |
mcSelectionSetWindowPolygon = 6 |
6,_CW pt1指向一个点链表,点集合组成一个多边形区域,在这个区域内的实体都放入到选择集中 |
mcSelectionSetCrossingPolygon = 7 |
7, _CP pt1指向一个点链表,点集合组成一个多边形区域,在这个区域内的和多边形的边相交的实体都放入到选择集中 |
mcSelectionSetUserSelect = 8 |
8, 与用户交互选择 |
mcSelectionImpliedSelectSelect = 9 |
9, _I 返回当前图上已经选择的实体 |
mcSelectionHideobjectSetWindow = 20 |
20, 选择隐藏的对象. |
mcSelectionHideobjectSetCrossing = 21 |
21, 选择隐藏的对象. |
mcSelectionHideobjectSetUserSelect = 28 |
28, 与用户交互选择,选择隐藏的对象. |
mcSelectionHideobjectSetWindowPolygon = 26 |
6, 选择隐藏的对象. _CW pt1指向一个点链表,点集合组成一个多边形区域,在这个区域内的实体都放入到选择集中 |
mcSelectionHideobjectSetCrossingPolygon = 27 |
7,选择隐藏的对象 _CP pt1指向一个点链表,点集合组成一个多边形区域,在这个区域内的和多边形的边相交的实体都放入到选择集中 |