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 SourceThumbnailArg(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 SourceFormat
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 |
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 |
Path
The path to the image file you want to thumbnail.
Declaration
public string Path { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Size
The size for the thumbnail image.
Declaration
public ThumbnailSize Size { get; protected set; }
Property Value
Type | Description |
---|---|
ThumbnailSize |