L_AnnSetTextScaleWithDpi

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnSetTextScaleWithDpi(hObject, bTextScaleWithDpi)

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

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.

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

LEADTOOLS Raster Imaging C API Help

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