Table of Contents

Property MaxImagePixels

Namespace
DocWright.Core
Assembly
DocWright.Core.dll

MaxImagePixels

Gets or sets the maximum pixel count for any decoded image payload (width * height), or null for unlimited.

On by default (DefaultMaxImagePixels). Dimensions come out of a header a few bytes long; the buffer they size does not.

public long? MaxImagePixels { get; set; }

Property Value

long?

Exceptions

ArgumentOutOfRangeException

The value is not positive.