AnnSetEncryptOptions method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetEncryptOptions (long hObject);

Overview

Refer to Implementing Annotations.

Remarks

Sets the encryption options for the specified Encrypt annotation object.

To set the Encryption options for one or more objects you must set the desired options in the AnnEncryptOptions property before calling this method. In addition, you must set the Flags property before calling this method, to indicate the objects for which to set the encryption options. Possible values for the Flags property are:

0

ANN_FLAG_SELECTED

ANN_FLAG_NOTTHIS

ANN_FLAG_RECURSE

ANN_FLAG_NOTCONTAINER

ANN_FLAG_NOINVALIDATE

To get the annotation encryption options for a specific Encrypt annotation object, call the AnnGetEncryptOptions method. The AnnEncryptOptions property will be updated with the encryption options.

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of Flags property.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements:

AnnEncryptApply method, AnnEncryptOptions property, AnnGetEncryptOptions method, EnableEncryptor property, Flags property, Key property, EnableNeverEncrypted property, EnableSaveDecryptorKey property, EnableSaveEncryptorKey property, EnableClearDecryptorKey property, EnableClearEncryptorKey property, EncryptRaster property

Topics:

Annotations (Document/Medical only): Object Manipulation