LBitmapWindow::SnapWndToImage

Summary

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

Syntax

#include "ltwrappr.h"

L_VOID LBitmapWindow::SnapWndToImage(bFlag=TRUE)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.