AnnGetBitmap method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnGetBitmap(long hObject, ILEADRaster *pRaster);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets the bitmap at the specified annotation object. The specified bitmap is a LEAD bitmap.

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

ANN_OBJECT_POINT

ANN_OBJECT_PUSHPIN

ANN_OBJECT_STAMP

The ANN_OBJECT_STAMP objects (which include the Rubber Stamp tools which are available in Automation) 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 ANN_OBJECT_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).

Use the PointRaster property to get or set a pointer to an ILEADRaster obect that references the bitmap to use for the point, and the EnablePointUseBitmap to specify whether to draw the point using the bitmap or as a circle.

Call the AnnSetBitmap method to set the bitmap for one or more annotation objects.

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

See Also

Elements

AnnSetBitmap method

Topics

Annotations (Document/Medical only): Bitmap

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Annotation Object Bitmap

 

Using Annotation Bitmap Objects

 

Obtaining Annotation Object Information