virtual L_INT LBitmapWindow::GetMagGlassOptions (pOptions, uStructSize)
Gets the magnifying glass options for the class object.
Pointer to the MAGGLASSOPTIONS structure to be updated with the magnifying glass options for the class object.
Size in bytes, of the structure pointed to by pOptions. Use sizeof(FILEINFO).
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
For more information on the magnifying glass options, refer to the MAGGLASSOPTIONS structure.
Win32, x64.
L_INT LBitmapWindow__GetMagGlassOptionsExample(LBitmapWindow &LeadBWnd)
{
L_INT nRet;
MAGGLASSOPTIONS opt;
nRet =LeadBWnd.GetMagGlassOptions(&opt, sizeof(opt));
if(nRet !=SUCCESS)
return nRet;
opt.clrBack = RGB(255, 0, 0);
nRet =LeadBWnd.SetMagGlassOptions (&opt);
if(nRet !=SUCCESS)
return nRet;
LeadBWnd.SetToolType(TOOL_MAGGLASS);
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