| Visual Basic | |
|---|---|
Function GetSelectionManager() As SelectionManager | |
| C# | |
|---|---|
SelectionManager GetSelectionManager() | |
| JavaScript | |
|---|---|
GetSelectionManager() : dsSelectionManager | |
| COM native C++ | |
|---|---|
HRESULT GetSelectionManager( ISelectionManager** SelManager ) | |
| C++ | |
|---|---|
DSRESULT GetSelectionManager( dsSelectionManager** SelManager ) | |
Parameters
- SelManager[out] or Return Value
- ISelectionManager
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;
if( NULL == dsSelManager )
{
::AfxMessageBox( L"Failed to get Selection Manager of the current document." );
return;
}
DraftSight V1R1
Syntax