AnnUnrealize method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ example
Syntax short AnnUnrealize (OLE_HANDLE hObject, BOOL fSelected);
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 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 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