# PdfDestructiveCropResult

Destructively cropped PDF bytes plus planner and raster readback evidence.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfDestructiveCropResult.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L16)

**Modifiers**

sealed

Destructively cropped PDF bytes plus planner and raster readback evidence.

## Inheritance

- object
- PdfDestructiveCropResult

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [PdfDocumentPages.DestructiveCrop](/api/pdf/officeimo-pdf-pdfdocumentpages/#method-destructivecrop-double-double-double-double-officeimo-pdf-pdfdestructivecropoptions-officeimo-pdf-pdfpageselection-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public byte[] ToBytes()` [#](#method-tobytes)

[PdfDestructiveCropResult.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L16)

Returns a defensive copy of the destructively cropped PDF.

Returns

`byte[]`

`public PdfDocument ToDocument()` [#](#method-todocument)

[PdfDestructiveCropResult.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L18)

Opens the destructively cropped artifact.

Returns

`PdfDocument`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PdfMutationPlan PageTreePlan { get; }` [#](#property-pagetreeplan)

[PdfDestructiveCropResult.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L8)

Plan authorizing page-boundary and coordinate changes.

`public PdfMutationPlan ContentPlan { get; }` [#](#property-contentplan)

[PdfDestructiveCropResult.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L10)

Plan authorizing destructive content replacement.

`public PdfRewritePreservationReport PreservationReport { get; }` [#](#property-preservationreport)

[PdfDestructiveCropResult.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L12)

Non-target structure preservation proof.

`public IReadOnlyList<PdfPageRenderResult> Renders { get; }` [#](#property-renders)

[PdfDestructiveCropResult.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfDestructiveCropResult.cs#L14)

Raster artifacts used to replace selected pages.

<!-- PowerForge markdown artifact sha256:C5495359C94C4EB87B04110AF0E7F14331408936D9773953FDE1FE051D2AE0AB -->
