LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnnAutomation > LAnnAutomation Member Functions > LAnnAutomation::GetTextLen |
#include "ltwrappr.h"
virtual L_SIZE_T LAnnAutomation::GetTextLen()
Gets the length of the annotation object's text (character string).
Returns
The length of the object's character string.
Comments
Use this value to allocate a buffer to read the text property.
To get the length of Rich Text formatted text, use LAnnAutomation::GetTextRTF.
Required DLLs and Libraries
LTANN 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.
See Also
Functions: |
LAnnAutomation::SetText, LAnnAutomation::GetText, Class Members |
Topics: |
Example
For an example, refer to LAnnAutomation::GetText.