Skip to content

# PDFImageEncodeException

Namespace: O2S.Components.PDF4NET.Imaging

Defines an exception that is thrown when an image cannot be encoded.

    public class PDFImageEncodeException : O2S.Components.PDF4NET.Core.Exceptions.PDFException

Inheritance Object → Exception → PDFException → PDFImageEncodeException
Implements

## Constructors

### PDFImageEncodeException(String)

Initializes a new PDFImageEncodeException object.

    public PDFImageEncodeException(string message)

Parameters

`message` String
The exception message.

## Properties

### Data

    public IDictionary Data { get; }

Property Value

IDictionary

### HelpLink

    public string HelpLink { get; set; }

Property Value

String

### HResult

    public int HResult { get; set; }

Property Value

Int32

### InnerException

    public Exception InnerException { get; }

Property Value

Exception

### Message

    public string Message { get; }

Property Value

String

### Source

    public string Source { get; set; }

Property Value

String

### StackTrace

    public string StackTrace { get; }

Property Value

String

### TargetSite

    public MethodBase TargetSite { get; }

Property Value

MethodBase