Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapWindow::GetMagGlassOptions

Show in webframe

#include "ltwrappr.h"

virtual L_INT LBitmapWindow::GetMagGlassOptions (pOptions, uStructSize)

MAGGLASSOPTIONS * pOptions;

/* pointer to a MAGGLASSOPTIONS structure */

L_UINT uStructSize;

/* size in bytes, of the structure pointed to by pOptions */

Gets the magnifying glass options for the class object.

Parameter

Description

pOptions

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

uStructSize

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

Returns

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

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LBitmapWindow::SetMagGlassOptions, LBitmapWindow::MagGlassCallBack, LBitmapWindow::UpdateMagGlassShape, Class Members

Topics:

Using the Magnifying Glass

 

Raster Image Functions: Displaying Images

 

Using the Zoom View

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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.