Sets a flag that indicates whether to process only selected objects or all objects.
#include "ltwrappr.h"
L_BOOL LVectorDialog::EnableSelectedOnly(bSelectedOnly=TRUE)
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. |
| Value | Meaning |
|---|---|
| TRUE | The previous setting was TRUE. |
| FALSE | The previous setting was FALSE. |
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;}elsereturn nRet;return SUCCESS;}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
