# HtmlPdfRenderRequestResult

PDF output paired with the exact retained render request result that produced it.

Class 

`OfficeIMO.Html.Pdf`

**Namespace**

`OfficeIMO.Html.Pdf`

**Assembly**

`OfficeIMO.Html.Pdf`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlPdfRenderRequestResult.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfRenderRequestResult.cs#L19)

**Modifiers**

sealed

PDF output paired with the exact retained render request result that produced it.

## Inheritance

- object
- HtmlPdfRenderRequestResult

## Usage

Explore 5 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 4

- Method [HtmlPdfConverterExtensions.RenderToPdfResult](/api/html-pdf/officeimo-html-pdf-htmlpdfconverterextensions/#method-rendertopdfresult-officeimo-html-htmlconversiondocument-officeimo-html-htmlrenderrequest-threading-cancellationtoken)
- Method [HtmlPdfConverterExtensions.RenderToPdfResultAsync](/api/html-pdf/officeimo-html-pdf-htmlpdfconverterextensions/#method-rendertopdfresultasync-officeimo-html-htmlconversiondocument-officeimo-html-htmlrenderrequest-threading-cancellationtoken)
- Method [HtmlSiteBundlePdfExtensions.RenderToPdfResult](/api/html-pdf/officeimo-html-pdf-htmlsitebundlepdfextensions/#method-rendertopdfresult-officeimo-html-htmlsitebundle-officeimo-html-htmlrenderrequest-threading-cancellationtoken)
- Method [HtmlSiteBundlePdfExtensions.RenderToPdfResultAsync](/api/html-pdf/officeimo-html-pdf-htmlsitebundlepdfextensions/#method-rendertopdfresultasync-officeimo-html-htmlsitebundle-officeimo-html-htmlrenderrequest-threading-cancellationtoken)

### Accepted by parameters 1

- Method [HtmlPdfAccessibilityValidator.Validate](/api/html-pdf/officeimo-html-pdf-htmlpdfaccessibilityvalidator/#method-validate-officeimo-html-pdf-htmlpdfrenderrequestresult-threading-cancellationtoken) parameter `rendered`

Filter members 

Show inherited

## Methods

`public byte[] ToBytes(CancellationToken cancellationToken = default)` [#](#method-tobytes-threading-cancellationtoken)

[HtmlPdfRenderRequestResult.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfRenderRequestResult.cs#L19)

Serializes the completed PDF document.

Parameters

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`byte[]`

## 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 HtmlRenderResult RenderResult { get; }` [#](#property-renderresult)

[HtmlPdfRenderRequestResult.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfRenderRequestResult.cs#L13)

Resolved request, selected surfaces, source offsets, clipping, and HTML diagnostics.

`public PdfDocumentConversionResult Output { get; }` [#](#property-output)

[HtmlPdfRenderRequestResult.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfRenderRequestResult.cs#L16)

PDF document and combined HTML/PDF conversion report.

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