AnnGetBitmap method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetBitmap(HANNOBJECT hObject, TBitmapHandle &Bitmap)

Delphi Syntax

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

Overview

Refer to Implementing Annotations.

Remarks

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

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

ANNOBJECT_POINT

ANNOBJECT_PUSHPIN

ANNOBJECT_STAMP

The ANNOBJECT_STAMP (including the Rubber Stamp) objects can display text, a bitmap, or a metafile. Initially, the ANNOBJECT_STAMP displays text. In automation, there are different Rubber Stamp tools available, which are ANNOBJECT_STAMP objects set up to use the different metafiles for each rubber stamp selection instead of text. The ANNOBJECT_PUSHPIN displays a bitmap in design mode and a secondary bitmap in run mode. Initially, the ANNOBJECT_POINT displays the bitmap of the AnnPredefinedBitmap property.

Use 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, AnnSetSecondaryBitmap method, AnnGetSecondaryBitmap method, AnnGetMetafile, AnnSetPredefinedMetafile method, AnnGetPredefinedMetafile method, AnnGetEncryptOptions method, AnnSetEncryptOptions method, AnnEncryptApply method, AnnGetSecondaryMetafile method, AnnPredefinedBitmap property, AnnGetPointOptions method, AnnEncryptOptions property, AnnSetMetafile method, EncryptBitmap property, AnnPointOptions property, PointUseBitmap property, PointBitmap property

Topics:

Obtaining Annotation Object Information

 

Annotations (Document/Medical only): Object Bitmap

 

Using Annotation Object Bitmaps