AnnGetSecondaryBitmap method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax OLE_HANDLE AnnGetSecondaryBitmap(OLE_HANDLE hObject);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Retrieves the secondary bitmap of the specified object.

Only PushPin objects use a secondary bitmap.

A pushpin object has a primary bitmap, (manipulated using AnnSetBitmap /AnnGetBitmap) when the text is shown, and a secondary bitmap, changed using 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 run mode, the object shows/hides the text when clicked. The pushpin object has the active mode property. When the mode is ANNACTIVE_ENABLED, the text is shown and the primary bitmap is painted in the top-left corner of the note.

When the mode is ANNACTIVE_DISABLED, the text is hidden and the secondary bitmap is displayed.

See Also

Elements:  AnnSetSecondaryBitmap method

Topics:  Annotations (Document/Medical only): Bitmap