LAnnotation::Print

#include "ltwrappr.h"

virtual L_INT LAnnotation::Print(hDC, prcBounds)

Prints the annotation object, fitting it to a bounding rectangle in the specified device context.

Parameters

HDC hDC

Handle to the device context (DC) where the annotation is to print. The mapping mode of the device context must be MM_TEXT.

LPRECT prcBounds

Pointer to the Windows RECT structure that defines the bounding rectangle where this function will fit the annotation for printing. To maintain the aspect ratio, this rectangle should have the same proportions as the annotation object that you are printing.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnotation::CutToClipboard.

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

LEADTOOLS Raster Imaging C++ Class Library Help