Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnRedactionObject Class : Realize Method |
public virtual void Realize( AnnDataProvider provider, AnnContainer container )
'Declaration
Public Overridable Sub Realize( _ ByVal provider As AnnDataProvider, _ ByVal container As AnnContainer _ )
public virtual void Realize( AnnDataProvider provider, AnnContainer container )
-(void) realize:(LTAnnDataProvider*)provider container:(LTAnnContainer*)container;
public void realize( AnnDataProvider provider, AnnContainer container )
When this method is called, the background behind this AnnRedactionObject is saved in 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.
AnnDataProvider is used as following: the AnnDataProvider.GetImageData method is called to get the pixel data for the area to be redacted and the data is stored inside this object in ImageData. Then AnnDataProvider.Fill is called to fill that area with a black color.