←Select platform

Realize Method

Summary
Realizes this AnnRedactionObject to an image using the specified data provider.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual void Realize( 
   AnnDataProvider provider, 
   AnnContainer container 
) 
- (void)realizeWithDataProvider:(LTAnnDataProvider *)provider container:(LTAnnContainer *)container NS_SWIFT_NAME(realize(_:container:)); 
public void realize( 
   AnnDataProvider provider, 
   AnnContainer container 
) 
public:  
   virtual void Realize( 
      AnnDataProvider^ provider, 
      AnnContainer^ container 
   ) 
def Realize(self,provider,container): 

Parameters

provider
AnnDataProvider instance that is used to get the image pixel data and then fill it with a black color.

container
The reference AnnContainer.

Remarks

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.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.