#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnGetTextFixedSize (hObject, pbTextFixedSize)
HANNOBJECT hObject; |
handle to the annotation object |
L_BOOL *pbTextFixedSize; |
pointer to a variable to be updated |
Gets a value that indicates whether the text size changes with scaling.
Parameter | Description | |
hObject | Handle to the annotation object | |
pbTextFixedSize | 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. |
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
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
For an example, refer to L_AnnSetTextFixedSize.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.