#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnGetTextFixedSize (hObject, pbTextFixedSize)
Gets a value that indicates whether the text size changes with scaling.
Handle to the annotation object
Pointer to a variable to be updated with a value that indicates whether the text size changes with scaling. Possible values are:
Value | Meaning |
---|---|
TRUE | The text size does not change with scaling. |
FALSE | The text size changes with scaling. This is the default value. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The text size of an object is relative to its container object, and the value is interpreted using the container's scaling factors. As a result, when zooming in the text size increases, and when zooming out the text size decreases. This is the default behavior.
In some cases it might be preferable to have the text size of an annotation object remain constant, regardless of the scaling (zooming). To do this, call L_AnnSetTextFixedSize function with the bTextFixedSize parameter set to TRUE.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_AnnSetTextFixedSize.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document