O2S.Components.PDF4NET Documentation
RedactArea(PDFDisplayRectangle,PDFColor) Method



O2S.Components.PDF4NET.Redaction Namespace > PDFContentRedactor Class > RedactArea Method : RedactArea(PDFDisplayRectangle,PDFColor) Method
Area from which the content should be redacted.
Color used for masking the redacted area.
Redacts the page content from the specified area.
Syntax
'Declaration
 
Public Overloads Sub RedactArea( _
   ByVal redactionArea As PDFDisplayRectangle, _
   ByVal redactionColor As PDFColor _
) 
'Usage
 
Dim instance As PDFContentRedactor
Dim redactionArea As PDFDisplayRectangle
Dim redactionColor As PDFColor
 
instance.RedactArea(redactionArea, redactionColor)

Parameters

redactionArea
Area from which the content should be redacted.
redactionColor
Color used for masking the redacted area.
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