AnnSetBitmap method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

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

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the bitmap of one or more annotation objects. The specified bitmap is a LEAD bitmap.

The AnnSetBitmap method is valid only for the following object types:

Point

Pushpin

Stamp (including the Rubber Stamp tools)

The Stamp object (which include the Rubber Stamp tools) can display text, a bitmap or a metafile. Only one of these three can be displayed at any time—setting the object to one of these destroys any settings for the other two.

Initially, the Stamp object displays text. The difference between the Stamp and the Rubber Stamp is that initially whereas the Stamp does not display an image, the Rubber Stamp tools are set to display different metafiles (one for each rubber stamp selection).

Call the AnnGetBitmap method to get the bitmap for one or more annotation objects.

For descriptions of the various types of objects and their properties, refer to Types of Annotations.

This method applies to multiple or selected objects, based on the value of the bSelected parameter.

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

AnnGetBitmap method

Topics

Annotations (Document/Medical only): Bitmap

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Annotation Object Bitmap

 

Using Annotation Bitmap Objects