ANNTOOL

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.

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator 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() operator 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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help