LAnnotation::Print

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnotation::Print(hDC, prcBounds)

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