virtual L_INT LVectorBase::ZoomRect (pRect)
Sets the current zoom rectangle inside a vector handle.
Pointer to a RECT structure that contains data on the new zoom rectangle.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Use this function to set the desired zoom rectangle inside the current view port associated with a vector handle.
Please note that you will have to update the window to see the results of this function.
Required DLLs and Libraries
This example will use ZoomRect to zoom to a desired area inside the vector handle.
L_INT LVectorBase__ZoomRectExample( LVectorBase *pVector, RECT *pRect )
nRet = pVector->ZoomRect(pRect );
if(nRet != SUCCESS)
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries