AnnGetPredefinedMetafile method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long AnnGetPredefinedMetafile(short nType);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Retrieves a copy of the specified predefined metafile.

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

Encrypt

Freehand Hotspot

Hot Spot

Stamp (Including the Rubber Stamp tools)

Use the AnnGetPredefinedMetafile method to get the default metafiles for these objects. To reset a metafile to its original metafile, call the AnnSetMetafile method.

When the metafile handle is no longer needed, it must be freed using either DeleteMetaFile or DeleteEnhMetaFile Windows API functions.

Read the AnnPredefinedMetafileEnhanced property after calling this method to get a value that indicates whether the retrieved metafile is enhanced.

See Also

Elements

AnnAlpha property, AnnAutoSnapCursor property, AnnCalibrateRuler method, AnnFillMode property, AnnGetFillModeExt method, AnnGetOptions method, AnnGetRotateOptions method, AnnGetTextOptions method, AnnSetFillModeExt method, AnnSetOptions method, AnnSetRotateOptions method, AnnSetTextOptions method, AnnShowBorder property, AnnShowRotateHandles property, AnnShowText property, AnnTextColor property, AnnTextEdit method, AnnSetPredefinedMetafile method, AnnGetMetafile method, AnnSetMetafile 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