AnnGetAutoText method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetAutoText (int iItem, LEADTyp::L_PPCHAR ppText);

Delphi Syntax

Function AnnGetAutoText (iItem: Integer; ppText: L_PPCHAR): Integer;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Retrieves the current text string that is used for the specified menu item or other element that LEADTOOLS provides for automated annotations.

Call this method once, with ppText set to nil. The return value of the method will be the size (number of characters) of the text. Next, allocate the appropriate amount of memory for the ppText (size + 1), and call this method again to retrieve the string.

To modify the text strings you can use the AnnSetAutoText method.

See Also

Elements:

AnnSetAutoText method

Topics:

Annotations (Document/Medical only): Automation