Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

ANNTOOL

Show in webframe

typedef struct _ANNTOOL
{
   L_UINT uStructSize; 
   L_UINT uTool;
   L_INT nMenuTextID;
   L_TCHAR * pMenuText;
} ANNTOOL, *pANNTOOL;

The ANNTOOL structure contains information about a tool associated with a button in the annotation toolbar.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

uTool

Constant that specifies an annotation tool. For a list of available tools, refer to Annotation Toolbar Buttons.

nMenuTextID

Index into the annotation menu dialog strings. If this value is -1, the menu text for the associated tool is in pMenuText. If this value is >= 0, the menu text for the associated tool comes the corresponding set of dialog strings.

pMenuText

Character string that contains the menu text for the associated tool. This is only valid if nMenuTextID is -1.

Comments

Some functions which take this structure as a parameter require that the structure be initialized prior to the function call. You must set the uStructSize member to the total size, in bytes, of the structure. Use the sizeof() macro to calculate this value. Functions that do not require the structure be initialized will take the total size of the structure, in bytes, as an additional function parameter.

See Also

Topics:

ANNBUTTON

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.