Class ThumbnailV2Arg
The thumbnail v2 arg object
Inheritance
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class ThumbnailV2Arg
Constructors
| Improve this Doc View SourceThumbnailV2Arg(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 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 |
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 |
Size
The size for the thumbnail image.
Declaration
public ThumbnailSize Size { get; protected set; }
Property Value
Type | Description |
---|---|
ThumbnailSize |