LBitmapWindow::GetMagGlassOptions

Summary

Gets the magnifying glass options for the class object.

Syntax

#include "ltwrappr.h"

virtual L_INT LBitmapWindow::GetMagGlassOptions (pOptions, uStructSize)

Parameters

MAGGLASSOPTIONS * pOptions

Pointer to the MAGGLASSOPTIONS structure to be updated with the magnifying glass options for the class object.

L_UINT uStructSize

Size in bytes, of the structure pointed to by pOptions. Use sizeof(FILEINFO).

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

For more information on the magnifying glass options, refer to the MAGGLASSOPTIONS structure.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

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 Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.