LAnnAutomation::GetAutoTextLen

#include "ltwrappr.h"

virtual L_SIZE_T LAnnAutomation::GetAutoTextLen(uItem)

L_UINT uItem;

/* constant for the specified item*/

Gets the length of the current character string for a menu or dialog box item associated with automated annotations.

Parameter

Description

uItem

Constant that specifies the menu or dialog box item, which appears when the user presses the right mouse button. For lists of constants and their default values, refer to the following:

 

Annotation Automation Menu Strings

 

Annotation Automation Line Dialog Strings

 

Annotation Automation Fill Dialog Strings

 

Annotation Automation Text Dialog Strings

 

Annotation Automation Audio Dialog Strings

 

Annotation Automation Stamp Dialog Strings

 

Annotation Automation ROP2 Dialog Strings

 

Annotation Automation Lock/Unlock Dialog Strings

 

Annotation Automation Miscellaneous Dialog Strings

 

Annotation Automation Ruler Dialog Strings

Returns

The length of the item's current character string.

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.

Platforms

Win32, x64.

See Also

Functions:

LAnnAutomation::GetAutoText, LAnnAutomation::SetAutoText, Class Members, LAnnAutomation::SetAutoHilightPen, LAnnotation::SetAutoSnapCursor, LAnnotation::GetAutoSnapCursor

Topics:

Annotation Functions: Implementing Automation

Example

For an example, refer to LAnnAutomation::GetAutoText.