AnnGetSecondaryBitmap method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetSecondaryBitmap(HANNOBJECT hObject, TBitmapHandle &Bitmap)

Delphi Syntax

Function AnnGetSecondaryBitmap(hObject: HANNOBJECT; var Bitmap: TBitmapHandle): L_INT

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Retrieves the secondary bitmap of the specified 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 displays with the note text. The secondary bitmap displays by itself when the note is minimized.

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

See Also

Elements:

AnnSetBitmap method, AnnSetSecondaryBitmap 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