Sets the selected-only state of the LVectorWindow object. This determines if selected objects or all objects are affected when auto scaling or rotating using the rotate tool. This function is available in the LEADTOOLS Vector Imaging Toolkit.
#include "ltwrappr.h"
L_BOOL LVectorWindow::SetSelectedOnly(bSelectedOnly)
Flag that indicates which objects to process. Possible values are:
Value | Meaning |
---|---|
TRUE | Process only selected objects. |
FALSE | Process all objects. |
The previous setting.
If the SelectedOnly state is set to TRUE (LVectorWindow::GetSelectedOnly, [LVectorWindow:SetSelectedOnly), then only selected objects will be scaled or rotated. If the SelectedOnly state is set to FALSE, then ALL objects are scaled or rotated.
Note: When setting SetSelectedOnly(TRUE), the scale of the entire vector is reset to (1,1,1).
Assumes pVectorWindow points to a valid LVectorWindow object
This example toggles the Selected Only state of the LVectorWindow object
L_INT LVectorWindow__SetSelectedOnlyExample(HWND hWndParent, LVectorWindow *pVectorWindow)
{
pVectorWindow->SetSelectedOnly( !pVectorWindow->GetSelectedOnly());
if (pVectorWindow->GetSelectedOnly())
SetWindowText(hWndParent, TEXT("Selected-Only Enabled"));
else
SetWindowText(hWndParent, TEXT("Selected-Only Disabled"));
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