# OfficeTiffEncodeOptions

Settings for bounded classic TIFF encoding.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeTiffCodec.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L37)

**Modifiers**

sealed

Settings for bounded classic TIFF encoding.

## Inheritance

- object
- OfficeTiffEncodeOptions

## Usage

Explore 5 API references to this type

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

### Returned or exposed by 1

- Property [OfficeRasterEncodingOptions.Tiff](/api/core/officeimo-drawing-officerasterencodingoptions/#property-tiff)

### Accepted by parameters 4

- Method [OfficeTiffCodec.Encode](/api/core/officeimo-drawing-officetiffcodec/#method-encode-officeimo-drawing-officerasterimage-officeimo-drawing-officetiffencodeoptions) parameter `options`
- Method [OfficeTiffCodec.EncodePages](/api/core/officeimo-drawing-officetiffcodec/#method-encodepages-collections-generic-ireadonlylist-officeimo-drawing-officerasterimage-officeimo-drawing-officetiffencodeoptions) parameter `options`
- Method [OfficeTiffCodec.EncodePagesTo](/api/core/officeimo-drawing-officetiffcodec/#method-encodepagesto-collections-generic-ireadonlylist-officeimo-drawing-officerasterimage-io-stream-officeimo-drawing-officetiffencodeoptions) parameter `options`
- Method [OfficeTiffCodec.EncodeTo](/api/core/officeimo-drawing-officetiffcodec/#method-encodeto-officeimo-drawing-officerasterimage-io-stream-officeimo-drawing-officetiffencodeoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public OfficeTiffEncodeOptions()` [#](#constructor-ctor)

[OfficeTiffCodec.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L37)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OfficeTiffCompression Compression { get; set; }` [#](#property-compression)

[OfficeTiffCodec.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L37)

Strip compression. PackBits is dependency-free and broadly supported.

`public OfficeTiffPredictor Predictor { get; set; }` [#](#property-predictor)

[OfficeTiffCodec.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L40)

Predictor used with LZW or Deflate. Other compression modes always store original samples.

`public double DpiX { get; set; }` [#](#property-dpix)

[OfficeTiffCodec.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L43)

Horizontal resolution in dots per inch.

`public double DpiY { get; set; }` [#](#property-dpiy)

[OfficeTiffCodec.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L46)

Vertical resolution in dots per inch.

`public OfficeImageResolution? Resolution { get; set; }` [#](#property-resolution)

[OfficeTiffCodec.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L50)

Optional native resolution values used instead of physical DPI when writing resolution tags.

`public bool WriteResolution { get; set; }` [#](#property-writeresolution)

[OfficeTiffCodec.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeTiffCodec.cs#L53)

Writes TIFF XResolution, YResolution, and ResolutionUnit tags.

<!-- PowerForge markdown artifact sha256:0B489A3E11F78C9B1C50B77C33B997AB33F2B22CB794F2F37A69CA2B631B371C -->
