AnnSetPredefinedMetafile method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetPredefinedMetafile(short nType, long hMetafile);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Changes a predefined metafile.

This method affects the Rubber Stamp tools, the Hotspot objects and the Freehand objects created by the Automation object. For example, if you replace the ANNMETAFILE_APPROVED default metafile with another metafile, then objects created by the automation mode when the ANNTOOL_STAMP_APPROVED tool is set will look like the new metafile.

A predefined metafile can be reset to its original metafile by passing NULL for hMetafile. For example, to reset the Hotspot and Freehand Hotspot predefined metafiles to their original value, do the following:

AnnSetPredefinedMetafile(ANN_METAFILE_HOTSPOT, 0);

See Also

Elements

AnnGetPredefinedMetafile method, AnnGetMetafile method, AnnSetMetafile method, AnnGetEncryptOptions, AnnSetEncryptOptions, AnnEncryptApply, AnnGetSecondaryMetafile, AnnPredefinedRaster property, AnnGetPointOptions

Topics

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Annotation Object Bitmap

 

Using Annotation Bitmap Objects