LBitmapWindow::SnapWndToImage

#include "ltwrappr.h"

L_VOID LBitmapWindow::SnapWndToImage(bFlag=TRUE)

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

Parameters

L_BOOL 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

Platforms

Win32, x64.

See Also

Example

L_INT LBitmapWindow__SnapWndToImageExample(LBitmapWindow& BmpWnd) 
{ 
 
   BmpWnd.SnapWndToImage(TRUE); 
 
   return SUCCESS; 
} 
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.