ButtonBitmapUp property (ILEADRasterAnnToolBar)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

long ButtonBitmapUp (short iButtonIndex);

Overview

Refer to Annotation Toolbar.

Remarks

Contains a bitmap used to paint the specified button when the button is up. If the ButtonBitmapDown property is NULL, the control will assume the same bitmap is used to paint the button whether it is up or down.

The bitmap should have the one of the following sets of dimensions, depending on the toolbar style you are using:

image\sqrblit.gif Old style toolbar (16, 15)

image\sqrblit.gif New XP style toolbar (24, 24)

If using the old style toolbar, It is recommended that all bitmaps used for the annotation buttons should use the same palette.

Note:

In Version 14.5, you need to first enable the display of the XP style toolbar by calling the AnnSetOptions method with the ANN_OPTIONS_NEW_TOOLBAR flag set. For more information, refer to New Annotation Features of Version 14.5.

See Also

Elements

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, ButtonBitmapDown property, ButtonColumns property, ButtonCount property,ButtonMenuText property, ButtonMenuTextID property, ButtonMenuTool property, ButtonRows property, ButtonTool property, ButtonToolCount property, ButtonToolTipText property, ButtonToolTipTextID property, ButtonVisible property, Create method, ParenthWnd property, Tool property, Visible property

Topics

Annotations (Document/Medical only): Automation