Dropbox .NET SDK
Show / Hide Table of Contents

Class ThumbnailFormat

The encoding of the produced image. These match `files/get_thumbnail`'s formats: JPEG is the better choice for photographs, PNG for screenshots, line art, and anything with sharp text edges or transparency.

Inheritance
object
ThumbnailFormat
ThumbnailFormat.Jpeg
ThumbnailFormat.Other
ThumbnailFormat.Png
ThumbnailFormat.Webp
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 ThumbnailFormat

Constructors

View Source

ThumbnailFormat()

Initializes a new instance of the ThumbnailFormat class.

Declaration
public ThumbnailFormat()

Properties

View Source

AsJpeg

Gets this instance as a Jpeg, or null.

Declaration
public ThumbnailFormat.Jpeg AsJpeg { get; }
Property Value
Type Description
ThumbnailFormat.Jpeg
View Source

AsOther

Gets this instance as a Other, or null.

Declaration
public ThumbnailFormat.Other AsOther { get; }
Property Value
Type Description
ThumbnailFormat.Other
View Source

AsPng

Gets this instance as a Png, or null.

Declaration
public ThumbnailFormat.Png AsPng { get; }
Property Value
Type Description
ThumbnailFormat.Png
View Source

AsWebp

Gets this instance as a Webp, or null.

Declaration
public ThumbnailFormat.Webp AsWebp { get; }
Property Value
Type Description
ThumbnailFormat.Webp
View Source

IsJpeg

Gets a value indicating whether this instance is Jpeg

Declaration
public bool IsJpeg { get; }
Property Value
Type Description
bool
View Source

IsOther

Gets a value indicating whether this instance is Other

Declaration
public bool IsOther { get; }
Property Value
Type Description
bool
View Source

IsPng

Gets a value indicating whether this instance is Png

Declaration
public bool IsPng { get; }
Property Value
Type Description
bool
View Source

IsWebp

Gets a value indicating whether this instance is Webp

Declaration
public bool IsWebp { get; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Dropbox .NET SDK