Show / Hide Table of Contents

Class ThumbnailArg

The thumbnail arg object

Inheritance
System.Object
ThumbnailArg
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 ThumbnailArg

Constructors

| Improve this Doc View Source

ThumbnailArg(String, ThumbnailFormat, ThumbnailSize, ThumbnailMode)

Initializes a new instance of the ThumbnailArg class.

Declaration
public ThumbnailArg(string path, ThumbnailFormat format = null, ThumbnailSize size = null, ThumbnailMode mode = null)
Parameters
Type Name Description
System.String path

The path to the image file you want to thumbnail.

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

Path

The path to the image file you want to thumbnail.

Declaration
public string Path { get; protected set; }
Property Value
Type Description
System.String
| 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
    • ThumbnailArg(String, ThumbnailFormat, ThumbnailSize, ThumbnailMode)
  • Properties
    • Format
    • Mode
    • Path
    • Size
Back to top Generated by DocFX