Skip to content

# TiffEncodeException

Namespace: O2S.Components.PDF4NET.Imaging.Tiff

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

    public class TiffEncodeException : O2S.Components.PDF4NET.Imaging.PDFImageEncodeException

Inheritance Object → Exception → PDFException → PDFImageEncodeException → TiffEncodeException
Implements

## Constructors

### TiffEncodeException(String, Int32)

Initializes a new TiffEncodeException object.

    public TiffEncodeException(string message, int frameCount)

Parameters

`message` String
The exception message.

`frameCount` Int32
Number of frames included in the generated TIFF image.

## Properties

### Data

    public IDictionary Data { get; }

Property Value

IDictionary

### FrameCount

Gets the number of frames included in the generated TIFF image.

    public int FrameCount { get; }

Property Value

Int32
The number of frames included in the generated TIFF image.

### 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