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
ThumbnailFormat
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ThumbnailFormat
Constructors
View SourceThumbnailFormat()
Initializes a new instance of the ThumbnailFormat class.
Declaration
public ThumbnailFormat()
Properties
View SourceAsJpeg
Gets this instance as a Jpeg, or null.
Declaration
public ThumbnailFormat.Jpeg AsJpeg { get; }
Property Value
| Type | Description |
|---|---|
| ThumbnailFormat.Jpeg |
AsOther
Gets this instance as a Other, or null.
Declaration
public ThumbnailFormat.Other AsOther { get; }
Property Value
| Type | Description |
|---|---|
| ThumbnailFormat.Other |
AsPng
Gets this instance as a Png, or null.
Declaration
public ThumbnailFormat.Png AsPng { get; }
Property Value
| Type | Description |
|---|---|
| ThumbnailFormat.Png |
AsWebp
Gets this instance as a Webp, or null.
Declaration
public ThumbnailFormat.Webp AsWebp { get; }
Property Value
| Type | Description |
|---|---|
| ThumbnailFormat.Webp |
IsJpeg
Gets a value indicating whether this instance is Jpeg
Declaration
public bool IsJpeg { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsOther
Gets a value indicating whether this instance is Other
Declaration
public bool IsOther { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsPng
Gets a value indicating whether this instance is Png
Declaration
public bool IsPng { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsWebp
Gets a value indicating whether this instance is Webp
Declaration
public bool IsWebp { get; }
Property Value
| Type | Description |
|---|---|
| bool |