Gets the interface for selecting entities, which makes the currently and previously selected entity available.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetSelectionManager() As SelectionManager |
C# | |
---|
SelectionManager GetSelectionManager() |
Parameters
- SelManager[out] or Return Value
- ISelectionManager
Example
This code snippet shows how to get an ISelectionManager object.
COM native C++
ISelectionManagerPtr dsSelManager( dsDoc->GetSelectionManager() );
if( NULL == dsSelManager )
{
::AfxMessageBox( L"Failed to get Selection Manager of the current document." );
return;
}
Example
See Also
Availability
DraftSight V1R1