Show / Hide Table of Contents

# Class Redactor.Redaction

##### Inheritance

object
Redactor.Redaction

##### Implements

IDisposable

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class Redactor.Redaction : IDisposable

### Constructors

#### Redaction(int, Rect, bool, string)

##### Declaration

    public Redaction(int page_num, Rect bbox, bool negative, string text)

##### Parameters

Type | Name | Description
--- | --- | ---
int | page_num | a page number on which to perform the redaction.
Rect | bbox | the bounding box for the redaction in PDF page coordinate system.
bool | negative | if true, remove the content outside of the redaction area, otherwise remove the content inside the redaction area.
string | text | optional anchor text to be placed in the redaction region.

#### Redaction(Redaction)

##### Declaration

    public Redaction(Redactor.Redaction other)

##### Parameters

Type | Name | Description
--- | --- | ---
Redactor.Redaction | other |

### Methods

#### Destroy()

##### Declaration

    public void Destroy()

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~Redaction()

##### Declaration

    protected ~Redaction()

### Implements

IDisposable