AnnUnrealize method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnUnrealize(LEADTyp::L_HANDLE hObject, bool fSelected);

Delphi Syntax

Function AnnUnrealize (hObject:L_HANDLE; fSelected: Boolean): Integer;

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 the AnnRealize method called with RedactOnly specified, for every Redact object, the background of the image behind is saved inside the object. That background can be restored 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 fSelected 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, fSelected is ignored.

Note:

When AnnRealize methodAnnRealizemethod 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