Dropbox .NET SDK
Show / Hide Table of Contents

Class TransformType

Which derived file to produce from the source file. Unlike the other Riviera content routes, which each expose one capability, `get_transform_async` is a single route over many conversions: the caller names the source file and the output it wants, and the service picks the conversion pipeline. Exactly one variant must be set; a request with none set fails with `invalid_options_error`.

Inheritance
object
TransformType
TransformType.Html
TransformType.Image
TransformType.ImagePdf
TransformType.Other
TransformType.Pdf
TransformType.Thumbnail
TransformType.VideoFrame
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class TransformType

Constructors

View Source

TransformType()

Initializes a new instance of the TransformType class.

Declaration
public TransformType()

Properties

View Source

AsHtml

Gets this instance as a Html, or null.

Declaration
public TransformType.Html AsHtml { get; }
Property Value
Type Description
TransformType.Html
View Source

AsImage

Gets this instance as a Image, or null.

Declaration
public TransformType.Image AsImage { get; }
Property Value
Type Description
TransformType.Image
View Source

AsImagePdf

Gets this instance as a ImagePdf, or null.

Declaration
public TransformType.ImagePdf AsImagePdf { get; }
Property Value
Type Description
TransformType.ImagePdf
View Source

AsOther

Gets this instance as a Other, or null.

Declaration
public TransformType.Other AsOther { get; }
Property Value
Type Description
TransformType.Other
View Source

AsPdf

Gets this instance as a Pdf, or null.

Declaration
public TransformType.Pdf AsPdf { get; }
Property Value
Type Description
TransformType.Pdf
View Source

AsThumbnail

Gets this instance as a Thumbnail, or null.

Declaration
public TransformType.Thumbnail AsThumbnail { get; }
Property Value
Type Description
TransformType.Thumbnail
View Source

AsVideoFrame

Gets this instance as a VideoFrame, or null.

Declaration
public TransformType.VideoFrame AsVideoFrame { get; }
Property Value
Type Description
TransformType.VideoFrame
View Source

IsHtml

Gets a value indicating whether this instance is Html

Declaration
public bool IsHtml { get; }
Property Value
Type Description
bool
View Source

IsImage

Gets a value indicating whether this instance is Image

Declaration
public bool IsImage { get; }
Property Value
Type Description
bool
View Source

IsImagePdf

Gets a value indicating whether this instance is ImagePdf

Declaration
public bool IsImagePdf { get; }
Property Value
Type Description
bool
View Source

IsOther

Gets a value indicating whether this instance is Other

Declaration
public bool IsOther { get; }
Property Value
Type Description
bool
View Source

IsPdf

Gets a value indicating whether this instance is Pdf

Declaration
public bool IsPdf { get; }
Property Value
Type Description
bool
View Source

IsThumbnail

Gets a value indicating whether this instance is Thumbnail

Declaration
public bool IsThumbnail { get; }
Property Value
Type Description
bool
View Source

IsVideoFrame

Gets a value indicating whether this instance is VideoFrame

Declaration
public bool IsVideoFrame { get; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Dropbox .NET SDK