Gets the current scale factor for the LVectorWindow object.
#include "ltwrappr.h"
VECTORPOINT LVectorWindow::GetScaleFactor(L_VOID)
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.
Assumes pVectorWindow points to a valid LVectorWindow object.
L_INT LVectorWindow__GetScaleFactorExample(LVectorWindow *pVectorWindow)
{
VECTORPOINT scale;
L_TCHAR szTemp[100];
//Get the current scale factor
scale = pVectorWindow->GetScaleFactor();
wsprintf(szTemp, TEXT("ScaleFactor[%lf, %lf, %lf]"), scale.x, scale.y, scale.z);
MessageBox(NULL, szTemp, TEXT(""), MB_OK);
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