AnnSetSecondaryBitmap method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetSecondaryBitmap(long hObject, ILEADRaster *pRaster, VARIANT_BOOL bSelected);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the secondary bitmap used by the specified annotation 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. 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 ANN_ACTIVE_ENABLED, the text is shown and the primary bitmap is painted in the top-left corner of the note.

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

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of bSelected parameter.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements

AnnGetSecondaryBitmap method

Topics

Annotations (Document/Medical only): Bitmap

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Annotation Object Bitmap

 

Using Annotation Bitmap Objects