realize Method

Summary

Realizes this AnnRedactionObject to an image using the specified data provider.

Syntax
TypeScript
JavaScript
AnnRedactionObject.prototype.realize = function( 
   provider, 
   container 
) 

Parameters

provider

An AnnDataProvider instance that is used to get the image pixel data which it then fills with a black color.

container

The reference AnnContainer.

Remarks

When this method is called, the background behind this AnnRedactionObject is saved within the object, and then the area behind this AnnRedactionObject is filled with a black color.

If this AnnRedactionObject does not have a brush, this method will do nothing.

The AnnDataProvider is used as follows:

The AnnDataProvider.GetImageData method is called to get the pixel data for the area to be redacted. That pixel data is stored inside this object in ImageData. Then AnnDataProvider.Fill is called to fill that area with a black color.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly