RegionReplacementOptions class
RegionReplacementOptions class
Represents color and area parameters for image region replacement. See ImageAreaRedaction.
The RegionReplacementOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of RegionReplacementOptions class. |
| init | Initializes a new instance of RegionReplacementOptions class which size matches given text. |
Properties
| Property | Description |
|---|---|
| fill_color | Gets or sets the color to fill the redacted area. |
| size | Gets or sets the rectangle with and height. |
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