AnnGetSecondaryMetafile method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetSecondaryMetafile(HANNOBJECT hObject, unsigned &hFile)

Delphi Syntax

AnnGetSecondaryMetafile(hObject: HANNOBJECT; var hFile: HMETAFILE): L_INT

Overview

Refer to Implementing Annotations.

Remarks

Gets the metafile handle associated with an encryptor object when it is in the ‘decryptor’ state.

The encrypt object has two states:

image\sqrblit.gif Encryptor

image\sqrblit.gif Decryptor

Each state is displayed with its own metafile.

Use this method to retrieve the current metafile for an encrypt object in a ‘decryptor’ state. The default image is shown in the figure below:

image\decryptresized20.gif

See Also

Elements:

AnnEncryptApply method, AnnEncryptOptions property, AnnGetEncryptOptions method, AnnSetEncryptOptions method, Encryptor property (TAnnNameOptions), Flags property (TAnnNameOptions), Key property (TAnnNameOptions), NeverEncrypted property (TAnnNameOptions), SaveDecryptorKey property (TAnnNameOptions), SaveEncryptorKey property (TAnnNameOptions), ClearDecryptorKey property (TAnnNameOptions), ClearEncryptorKey property (TAnnNameOptions), EncryptBitmap property (TAnnNameOptions), AnnEncryptApply method

Topics:

Annotations: Object Manipulation

 

Using Annotation Object Bitmaps