#include "ltwrappr.h"
L_BOOL LVectorDialog::EnableSelectedOnly(bSelectedOnly=TRUE)
L_BOOL bSelectedOnly; |
selection flag |
Sets a flag that indicates whether to process only selected objects or all objects.
Parameter | Description | |
bSelectedOnly | Flag that indicates whether to process only selected objects or all objects. Possible values are: | |
Value | Meaning | |
TRUE | Process only selected objects. | |
FALSE | Process all objects. |
TRUE |
The previous setting was TRUE. |
FALSE |
The previous setting was FALSE. |
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Functions: |
|
Topics: |
This example selects object under pPoint, displays the rotate dialog, and only rotates selected objects.
L_INT LVectorDialog__EnableSelectedOnlyExample(LVectorBase *pVector, LPPOINT pPoint)
{
L_INT nRet;
LVectorObject VectorObject;
nRet = pVector->HitTest (pPoint, &VectorObject);
if (nRet == SUCCESS)
{
nRet = VectorObject.SelectObject ();
if(nRet != SUCCESS)
return nRet;
LVectorDialog VectorDlg(pVector);
VectorDlg.EnablePreview ();
VectorDlg.EnableAutoProcess ();
VectorDlg.EnableSelectedOnly ();
nRet = VectorDlg.DoModalVectorRotate();
if(nRet != SUCCESS)
return nRet;
}
else
return nRet;
return SUCCESS;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET