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 For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. | 
See Also
| Functions: | 
Example
L_VOID MyFunc(LBitmapWindow& BmpWnd)
{
   BmpWnd.SnapWndToImage(TRUE);
}