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
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class TransformType
Constructors
View SourceTransformType()
Initializes a new instance of the TransformType class.
Declaration
public TransformType()
Properties
View SourceAsHtml
Gets this instance as a Html, or null.
Declaration
public TransformType.Html AsHtml { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.Html |
AsImage
Gets this instance as a Image, or null.
Declaration
public TransformType.Image AsImage { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.Image |
AsImagePdf
Gets this instance as a ImagePdf, or null.
Declaration
public TransformType.ImagePdf AsImagePdf { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.ImagePdf |
AsOther
Gets this instance as a Other, or null.
Declaration
public TransformType.Other AsOther { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.Other |
AsPdf
Gets this instance as a Pdf, or null.
Declaration
public TransformType.Pdf AsPdf { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.Pdf |
AsThumbnail
Gets this instance as a Thumbnail, or null.
Declaration
public TransformType.Thumbnail AsThumbnail { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.Thumbnail |
AsVideoFrame
Gets this instance as a VideoFrame, or null.
Declaration
public TransformType.VideoFrame AsVideoFrame { get; }
Property Value
| Type | Description |
|---|---|
| TransformType.VideoFrame |
IsHtml
Gets a value indicating whether this instance is Html
Declaration
public bool IsHtml { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsImage
Gets a value indicating whether this instance is Image
Declaration
public bool IsImage { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsImagePdf
Gets a value indicating whether this instance is ImagePdf
Declaration
public bool IsImagePdf { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsOther
Gets a value indicating whether this instance is Other
Declaration
public bool IsOther { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsPdf
Gets a value indicating whether this instance is Pdf
Declaration
public bool IsPdf { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsThumbnail
Gets a value indicating whether this instance is Thumbnail
Declaration
public bool IsThumbnail { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsVideoFrame
Gets a value indicating whether this instance is VideoFrame
Declaration
public bool IsVideoFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |