AnnSetSecondaryBitmap method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetSecondaryBitmap(HANNOBJECT hObject, TBitmapHandle Bitmap, bool bSelected)

Delphi Syntax

Function AnnSetSecondaryBitmap(hObject: HANNOBJECT; Bitmap: TBitmapHandle; bSelected: Boolean): L_INT

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the secondary bitmap used by the specified annotation object. Only PushPin objects (ANNOBJECT_PUSHPIN) use a secondary bitmap.

A PushPin object has a primary bitmap (manipulated using the AnnSetBitmap and AnnGetBitmap methods), which displays whenever the text is shown; and a secondary bitmap, changed using the AnnSetSecondaryBitmap method. The primary bitmap is shown with the note text. The secondary bitmap is shown by itself when the note is minimized.

In design mode, the PushPin object shows the text and displays the primary bitmap. In the run mode the object shows or hides the text when clicked.

See Also

Elements:

AnnSetBitmap method, AnnGetSecondaryBitmap method

Topics:

Obtaining Annotation Object Information

 

Annotations (Document/Medical only): Object Bitmap

 

Using Annotation Object Bitmaps

 

Drawing Simple Objects

 

Annotations (Document/Medical only): Object Manipulation

 

Altering Annotation Object Settings