ANNTOOL - Raster Imaging C API Help

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.

Member

Description

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:

ANNBUTTON

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help