Class Thumbnail
Represents thumbnail image for a file.
public sealed class Thumbnail : ComplexTypeBase, IXmpType
- Inheritance
-
Thumbnail
- Implements
- Inherited Members
Constructors
Thumbnail()
Initializes a new instance of the Thumbnail class.
public Thumbnail()
Thumbnail(int, int)
Initializes a new instance of the Thumbnail class.
public Thumbnail(int width, int height)
Parameters
Properties
Height
Gets or sets the height.
public int Height { get; set; }
Property Value
- int
The height.
Exceptions
- ArgumentOutOfRangeException
value;Height could not be less than zero
ImageBase64
Gets or sets the image in base64 format.
public string ImageBase64 { get; set; }
Property Value
- string
The image in base64 format.
Width
Gets or sets the width.
public int Width { get; set; }
Property Value
- int
The width.
Exceptions
- ArgumentOutOfRangeException
value;Width could not be less than zero
Methods
GetXmpRepresentation()
Gets the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
- string
Returns the string contained value in XMP format.