XFINIUM.PDF Documentation
RedactArea(PdfVisualRectangle,PdfColor,PdfContentRedactType) Method



Xfinium.Pdf.Redaction Namespace > PdfContentRedactor Class > RedactArea Method : RedactArea(PdfVisualRectangle,PdfColor,PdfContentRedactType) Method
Area from which the content should be redacted.
Color used for masking the redacted area.
Specifies the type of content to be redacted.
Redacts the page content from the specified area.
Syntax
'Declaration
 
Public Overloads Sub RedactArea( _
   ByVal redactionArea As PdfVisualRectangle, _
   ByVal redactionColor As PdfColor, _
   ByVal contentRedactType As PdfContentRedactType _
) 
'Usage
 
Dim instance As PdfContentRedactor
Dim redactionArea As PdfVisualRectangle
Dim redactionColor As PdfColor
Dim contentRedactType As PdfContentRedactType
 
instance.RedactArea(redactionArea, redactionColor, contentRedactType)

Parameters

redactionArea
Area from which the content should be redacted.
redactionColor
Color used for masking the redacted area.
contentRedactType
Specifies the type of content to be redacted.
Remarks
If BeginRedaction method has not been called before then the content is redacted immediately. Otherwise the redaction area is stored and the redaction takes place when ApplyRedaction method has been called.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfContentRedactor Class
PdfContentRedactor Members
Overload List