Table of Contents

Class RenderRequest

Namespace
PdfEngine.Rendering
Assembly
PdfEngine.Abstractions.dll

Render request parameters.

public record RenderRequest : IEquatable<RenderRequest>
Inheritance
RenderRequest
Implements
Inherited Members

Properties

DocumentRevision

The document revision the request belongs to, so a host can drop renders of an older revision.

public long DocumentRevision { get; init; }

Property Value

long

Dpi

The resolution in pixels per inch (default 96). A page of W x H points renders at W x Dpi / 72 by H x Dpi / 72 pixels, unless TargetWidthPixels and TargetHeightPixels set the size.

public double Dpi { get; init; }

Property Value

double

HighQuality

A hint to prefer quality over speed.

public bool HighQuality { get; init; }

Property Value

bool

PageNumber

The page to render, starting at 1.

public int PageNumber { get; init; }

Property Value

int

Priority

A scheduling hint for hosts that queue render requests.

public RenderPriority Priority { get; init; }

Property Value

RenderPriority

RenderAnnotations

A hint to draw annotations. A display-list renderer draws what the display list holds.

public bool RenderAnnotations { get; init; }

Property Value

bool

RenderForms

A hint to draw form fields. A display-list renderer draws what the display list holds.

public bool RenderForms { get; init; }

Property Value

bool

Rotation

A viewer rotation added to the page's own /Rotate.

public PageRotation Rotation { get; init; }

Property Value

PageRotation

TargetHeightPixels

The output height in pixels; 0 (the default) computes it from Dpi.

public int TargetHeightPixels { get; init; }

Property Value

int

TargetWidthPixels

The output width in pixels; 0 (the default) computes it from Dpi.

public int TargetWidthPixels { get; init; }

Property Value

int