Table of Contents

Property MaxWidth

Namespace
DocWright.Formats.Pdf.Raster
Assembly
DocWright.Formats.Pdf.dll

MaxWidth

Gets or sets an upper bound on the output width in pixels, or 0 for none. Defaults to 0.

public int MaxWidth { get; set; }

Property Value

int

Remarks

The clamps bound the image the caller receives and shrink the content with it, so a clamped page is a smaller whole page and never a cropped one.

Exceptions

ArgumentOutOfRangeException

The value is negative.