PdfRedactionArea Class

An area of a page whose content is removed by PdfRedactor. The area is measured in points from the top left corner of the page as it is displayed

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public class PdfRedactionArea
Inheritance
Object    PdfRedactionArea

Constructors

PdfRedactionArea Creates a redaction area

Properties

Bounds The bounds of the area, in points from the top left corner of the displayed page
FillColor The color that covers the area after its content is removed. When not set, the FillColor of the redactor is used; null leaves the area empty
OverlayFontSize The font size of the overlay text in points. Zero uses the OverlayFontSize of the redactor
OverlayText The text written over the area. When not set, the OverlayText of the redactor is used; an empty text writes nothing
OverlayTextColor The color of the overlay text. When null, the OverlayTextColor of the redactor is used
PageNumber The 1-based number of the page
RepeatOverlayText Repeats the overlay text to fill the area. When not set, the RepeatOverlayText of the redactor is used

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
SetOverlayImage(Byte, Boolean) Sets an image drawn over the area, after the fill color and under the overlay text. The image format is determined from the data. The supported formats are Jpeg, Png and Webp. When not set, the image set with SetOverlayImage(Byte, Boolean) is used; null draws no image
SetOverlayImage(String, Boolean) Sets an image drawn over the area from an image file. The supported formats are Jpeg, Png and Webp
ToString
(Inherited from Object)

See Also