ImageAreaRedaction class
ImageAreaRedaction class
Represents a redaction that places colored rectangle in given area of an image document.
Inheritance: ImageAreaRedaction →
Redaction
The ImageAreaRedaction type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of ImageAreaRedaction class for redacting specific area size. |
Properties
| Property | Description |
|---|---|
| description | Returns a string, describing the redaction and its parameters. |
| options | Gets the RegionReplacementOptions options with color and area parameters. |
| top_left | Gets the top-left position of the area to remove |
Methods
| Method | Description |
|---|---|
| apply_to | Applies the redaction to a given format instance. |
Remarks
Learn more | | | |
Example
The following example demonstrates replacing an area within the image with a solid color rectangle.
See Also
- module
groupdocs.redaction.redactions - class
ImageAreaRedaction - class
Redaction - class
RegionReplacementOptions