LImageViewerCell::PrintCell

Summary

Returns a Windows bitmap, HBITMAP, that contains a printable version of the specified cell or sub-cell.

Syntax

#include "ltwrappr.h"

HBITMAP LImageViewerCell::PrintCell(uFlags)

Parameters

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
HBITMAP The function was successful.
NULL An error occurred. Refer to Return Codes. To get the error call GetLastError() function.

Comments

Once the HBITMAP is no longer needed, you should delete it using the windows function DeleteObject.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example print the first cell

HBITMAP LImageViewer_PrintCellExample(LImageViewerCell& ImageViewerCell) 
{ 
   HBITMAP hBitmap = ImageViewerCell.PrintCell(0); 
 
   return hBitmap; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C++ Class Library Help

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