Class ThumbnailOptions
Options for `TransformType.thumbnail`. Supplying this message with any other transform type fails with `invalid_options_error`.
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ThumbnailOptions
Constructors
View SourceThumbnailOptions(ThumbnailSize, ThumbnailMode, ThumbnailFormat)
Initializes a new instance of the ThumbnailOptions class.
Declaration
public ThumbnailOptions(ThumbnailSize size = null, ThumbnailMode mode = null, ThumbnailFormat format = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ThumbnailSize | size | The size bucket to produce. Defaults to |
| ThumbnailMode | mode | How to fit the source into |
| ThumbnailFormat | format | The output encoding. Defaults to |
Properties
View SourceFormat
The output encoding. Defaults to `jpeg` when omitted.
Declaration
public ThumbnailFormat Format { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ThumbnailFormat |
Mode
How to fit the source into `size`. Defaults to `strict` when omitted.
Declaration
public ThumbnailMode Mode { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ThumbnailMode |
Size
The size bucket to produce. Defaults to `w64h64` when omitted.
Declaration
public ThumbnailSize Size { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ThumbnailSize |