AnnUnrealize method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnUnrealize(long hObject, VARIANT_BOOL bSelected);

Overview

Refer to Implementing Annotations

Remarks

(Document/Medical only) Restores the background of a redact object. This method is valid only for redact or container objects. When you call AnnRealize and specify RedactOnly, for every Redact object, the background of the image behind is saved inside the object. You can restore that background by calling AnnUnrealize. AnnUnrealize will restore the background from a redact object that contains a background bitmap. The background of a locked object cannot be restored until the object is unlocked. If hObject is a container, then bSelected indicates whether all the Redact objects included in the container should be restored, or if only selected objects should be restored. If hObject is a Redact object, bSelected is ignored.

Note: When AnnRealize method is called, if all objects are realized, any Redact objects that are realized cannot be unrealized.

See Also

Elements

AnnRealize method, AnnUnlock method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Displaying and Manipulating Annotation Objects