#include "ltwrappr.h"
L_BOOL LVectorWindow::SetSelectedOnly(bSelectedOnly)
L_BOOL bSelectedOnly; |
flag that indicates which objects to process |
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 Pro Toolkit.
Parameter | Description | |
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).
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: |
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;
}
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