Dropbox .NET SDK
Show / Hide Table of Contents

Class ThumbnailOptions

Options for `TransformType.thumbnail`. Supplying this message with any other transform type fails with `invalid_options_error`.

Inheritance
object
ThumbnailOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ThumbnailOptions

Constructors

View Source

ThumbnailOptions(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 w64h64 when omitted.

ThumbnailMode mode

How to fit the source into size. Defaults to strict when omitted.

ThumbnailFormat format

The output encoding. Defaults to jpeg when omitted.

Properties

View Source

Format

The output encoding. Defaults to `jpeg` when omitted.

Declaration
public ThumbnailFormat Format { get; protected set; }
Property Value
Type Description
ThumbnailFormat
View Source

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
View Source

Size

The size bucket to produce. Defaults to `w64h64` when omitted.

Declaration
public ThumbnailSize Size { get; protected set; }
Property Value
Type Description
ThumbnailSize
  • View Source
In this article
Back to top Dropbox .NET SDK