Dropbox .NET SDK
Show / Hide Table of Contents

Class ThumbnailV2Arg

The thumbnail v2 arg object

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

Constructors

View Source

ThumbnailV2Arg(PathOrLink, ThumbnailFormat, ThumbnailSize, ThumbnailMode, ThumbnailQuality, bool?)

Initializes a new instance of the ThumbnailV2Arg class.

Declaration
public ThumbnailV2Arg(PathOrLink resource, ThumbnailFormat format = null, ThumbnailSize size = null, ThumbnailMode mode = null, ThumbnailQuality quality = null, bool? excludeMediaInfo = null)
Parameters
Type Name Description
PathOrLink resource

Information specifying which file to preview. This could be a path to a file, a shared link pointing to a file, or a shared link pointing to a folder, with a relative path.

ThumbnailFormat format

The format for the thumbnail image, jpeg (default), png, or webp. For images that are photos, jpeg should be preferred, while png is better for screenshots and digital arts, and web for compression.

ThumbnailSize size

The size for the thumbnail image.

ThumbnailMode mode

How to resize and crop the image to achieve the desired size.

ThumbnailQuality quality

Field is only returned for "internal" callers. Quality of the thumbnail image.

bool? excludeMediaInfo

Normally, MediaInfo is set for photo and video. When this flag is true, MediaInfo is not populated. This improves latency for use cases where media_info is not needed.

Properties

View Source

ExcludeMediaInfo

Normally, MediaInfo is set for photo and video. When this flag is true, MediaInfo is not populated. This improves latency for use cases where `media_info` is not needed.

Declaration
public bool? ExcludeMediaInfo { get; protected set; }
Property Value
Type Description
bool?
View Source

Format

The format for the thumbnail image, jpeg (default), png, or webp. For images that are photos, jpeg should be preferred, while png is better for screenshots and digital arts, and web for compression.

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

Mode

How to resize and crop the image to achieve the desired size.

Declaration
public ThumbnailMode Mode { get; protected set; }
Property Value
Type Description
ThumbnailMode
View Source

Quality

Field is only returned for "internal" callers. Quality of the thumbnail image.

Declaration
public ThumbnailQuality Quality { get; protected set; }
Property Value
Type Description
ThumbnailQuality
View Source

Resource

Information specifying which file to preview. This could be a path to a file, a shared link pointing to a file, or a shared link pointing to a folder, with a relative path.

Declaration
public PathOrLink Resource { get; protected set; }
Property Value
Type Description
PathOrLink
View Source

Size

The size for the thumbnail image.

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