LBitmapWindow::SnapWndToImage

#include "ltwrappr.h"

L_VOID LBitmapWindow::SnapWndToImage(bFlag=TRUE)

L_BOOL bFlag;

flag that indicates whether to resize the window to the current zoom

Resizes the bitmap window to the size of the image (using the zoomed size or the normal size).

Parameter Description
bFlag Flag that indicates whether to enable or disable repainting the window. Possible values are:
  Value Meaning
  TRUE Resize the window to the current zoom size of the image.
  FALSE Resize the window to the normal size of the image.

Returns

None

Comments

If LBitmapWindow::IsPaintSizeUseDPIEnabled is enabled then the this will be considered.

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:

Class Members

Example

L_INT LBitmapWindow__SnapWndToImageExample(LBitmapWindow& BmpWnd) 
{ 
   BmpWnd.SnapWndToImage(TRUE); 
   return SUCCESS; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help