Show / Hide Table of Contents

Class ThumbnailV2Arg

The thumbnail v2 arg object

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

Constructors

| Improve this Doc View Source

ThumbnailV2Arg(PathOrLink, ThumbnailFormat, ThumbnailSize, ThumbnailMode)

Initializes a new instance of the ThumbnailV2Arg class.

Declaration
public ThumbnailV2Arg(PathOrLink resource, ThumbnailFormat format = null, ThumbnailSize size = null, ThumbnailMode mode = 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) or png. For images that are photos, jpeg should be preferred, while png is better for screenshots and digital arts.

ThumbnailSize size

The size for the thumbnail image.

ThumbnailMode mode

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

Properties

| Improve this Doc View Source

Format

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

Declaration
public ThumbnailFormat Format { get; protected set; }
Property Value
Type Description
ThumbnailFormat
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc View Source

Size

The size for the thumbnail image.

Declaration
public ThumbnailSize Size { get; protected set; }
Property Value
Type Description
ThumbnailSize
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • ThumbnailV2Arg(PathOrLink, ThumbnailFormat, ThumbnailSize, ThumbnailMode)
  • Properties
    • Format
    • Mode
    • Resource
    • Size
Back to top Generated by DocFX