L_AnnSetTextScaleWithDpi

Summary

Sets a value indicating whether to consider the bitmap's DPI when calculating the text font size.

Syntax

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnSetTextScaleWithDpi(hObject, bTextScaleWithDpi)

Parameters

HANNOBJECT hObject

Handle to an automation object.

L_BOOL bTextScaleWithDpi

A flag that indicates whether to consider the bitmap's DPI when calculating the text font size. Possible values are:

Value Meaning
TRUE Consider the bitmap's DPI.
FALSE Ignore the bitmap's DPI.

Returns

Value Meaning
SUCCESS  
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_AnnGetTextScaleWithDpi.

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

LEADTOOLS Raster Imaging C API Help

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