Table of Contents

Class PdfFlatteningOptions

Namespace
PdfEngine.Vector.PdfA
Assembly
PdfEngine.Vector.dll

How transparency is flattened for PDF/A-1.

public sealed class PdfFlatteningOptions
Inheritance
PdfFlatteningOptions
Inherited Members

Properties

Dpi

Resolution of flattened areas without text, in dots per inch.

public double Dpi { get; init; }

Property Value

double

MaxPixelsPerRegion

Most pixels one flattened area may have; a larger one is drawn at a lower resolution. The default keeps an image's samples within what readers decode in one stream (128 MB here).

public long MaxPixelsPerRegion { get; init; }

Property Value

long

TextDpi

Resolution of flattened areas that show text, which needs more to stay sharp.

public double TextDpi { get; init; }

Property Value

double

WholePageCoverage

When the flattened areas cover at least this share of the page, the whole page is flattened as one image.

public double WholePageCoverage { get; init; }

Property Value

double