AnnRealize method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short AnnRealize (BOOL fRedactOnly);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Renders the annotation objects to the bitmap, altering the bitmap, itself.

If you realize a redact object, moving the redact object will leave the original location of the redact object hidden. To restore the image under the redact object (so that when you move the redact object, the underlying image is not hidden), you must unrealized the redact object by calling the AnnUnrealize method.

When you call AnnRealize, for every Redact object, the background of the image behind is saved inside the object. You can restore that background by calling AnnUnrealize.

This method works only for 1, 4, 8, 16, and 24-bit images. When using an image that has some other number of bits per pixel, call the ColorRes method to change the image to a supported bits per pixel before calling the AnnRealize method.

See Also

Elements:  AnnUnrealize method

Topics:  Annotations (Document/Medical only): Object Manipulation