#include "ltwrappr.h"
VECTORPOINT LVectorWindow::GetScaleFactor(L_VOID)
Gets the current scale factor for the LVectorWindow object.
A VECTORPOINT structure that holds the current LVectorWindow scale factor.
The LVectorWindow::ScaleIn and LVectorWindow::ScaleOut member functions use the scale factor to scale the currently loaded vector.
Scaling changes the internally stored scale of the vector.
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: |
LVectorWindow::SetScaleFactor, LVectorWindow::ScaleIn, LVectorWindow::ScaleOut, Class Members |
Assumes pVectorWindow points to a valid LVectorWindow object.
L_INT LVectorWindow__GetScaleFactorExample(LVectorWindow *pVectorWindow){VECTORPOINT scale;L_TCHAR szTemp[100];//Get the current scale factorscale = pVectorWindow->GetScaleFactor();wsprintf(szTemp, TEXT("ScaleFactor[%lf, %lf, %lf]"), scale.x, scale.y, scale.z);MessageBox(NULL, szTemp, TEXT(""), MB_OK);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
