#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnGetTextOptions(hObject, pTextOptions, uStructSize)
Gets the text options for the specified annotation object.
Handle to the annotation object.
Pointer to an ANNTEXTOPTIONS structure that specifies the text options to set.
Size in bytes, of the structure pointed to by pTextOptions
, for versioning. Use sizeof(ANNTEXTOPTIONS).
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Use this function to get the text options of a text annotation object. To use this function, declare a variable of type ANNTEXTOPTIONS, and pass the address of this variable as the second argument. For more information, refer to the documentation for the structure ANNTEXTOPTIONS.
The hObject
parameter can represent any annotation object type, but the return information is only useful for text annotatations.
Note: You must first enable this function by calling L_AnnSetOptions with the OPTIONS_NEW_TEXT_OPTIONS flag.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_AnnSetTextOptions
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