CodeGlyphX logo
CodeGlyphX

API Reference

Struct

ImageDecodeLimitViolation

Namespace CodeGlyphX.Rendering
Assembly CodeGlyphX
Base ValueType
Modifiers sealed

Details about a decode guard violation.

Inheritance

  • ValueType
  • ImageDecodeLimitViolation

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public ImageDecodeLimitViolation(ImageDecodeLimitKind kind, Int64 limit, Int64 actual, ImageFormat format = Unknown, Nullable<Int32> pageIndex = null) #

Creates a new limit violation description.

Parameters

kind CodeGlyphX.Rendering.ImageDecodeLimitKind requiredposition: 0
limit System.Int64 requiredposition: 1
actual System.Int64 requiredposition: 2
format CodeGlyphX.Rendering.ImageFormat = Unknown optionalposition: 3
pageIndex System.Nullable{System.Int32} = null optionalposition: 4

Properties

public ImageDecodeLimitKind Kind { get; } #

The limit that was exceeded.

public Int64 Limit { get; } #

The configured limit (0 when unknown).

public Int64 Actual { get; } #

The observed value (0 when unknown).

public ImageFormat Format { get; } #

Detected image format, if known.

public Nullable<Int32> PageIndex { get; } #

Image page index when applicable (null when unknown).