AnnGetMetafile method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long AnnGetMetafile(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Retrieves the metafile handle associated with a Stamp object (including the Rubber Stamp tools), Encrypt object, Hotspot object, or Freehand Hotspot object.

The Stamp object (which includes 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).

Initially, the Hotspot, Freehand Hotspot, and Encrypt objects are also set to display predefined metafiles.

Call the AnnGetMetafile method to retrieve a metafile for an object. Call the AnnSetMetafile method to change the metafile for an object. Any new objects will still get the default metafile.

See Also

Elements

AnnSetMetafile method, AnnSetPredefinedMetafile method, AnnGetPredefinedMetafile method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Annotation Object Bitmap

 

Using Annotation Bitmap Objects

 

Obtaining Annotation Object Information