Brings up the Edit Object dialog. This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.
#include "ltwrappr.h"
virtual L_INT LVectorDialog::DoModalVectorEditObject(hWndParent, pVectorObject);
Handle of the window that owns the dialog.
Pointer to the vector object to be edited. This parameter must contain a valid pointer to an LVectorObject object. This parameter cannot be NULL.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This example will bring up the Edit Object dialog box for an object returned by HitTest.
L_INT LVectorDialog__DoModalVectorEditObjectExample(HWND hWnd, LVectorBase *pVectorBase, LPPOINT pPoint)
{
L_INT nRet;
LVectorObject MyObject;
nRet = pVectorBase->HitTest (pPoint, &MyObject);
if (nRet == SUCCESS)
{
LVectorDialog VectorDlg(pVectorBase);
VectorDlg.EnablePreview ();
VectorDlg.EnableAutoProcess();
nRet = VectorDlg.DoModalVectorEditObject(hWnd, &MyObject);
if(nRet != SUCCESS)
return nRet;
}
else
return 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