Class ThumbnailFormat
A thumbnail format will always result in an image of the media.
Inheritance
Inherited Members
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class ThumbnailFormat : WebMediaFormat, IMediaFormat, IItem<int>, IResizeFormat
Constructors
ThumbnailFormat()
Initializes a new instance of the ThumbnailFormat class.
Declaration
public ThumbnailFormat()
ThumbnailFormat(ThumbnailFormat)
Initializes a new instance of the ThumbnailFormat class.
Declaration
public ThumbnailFormat(ThumbnailFormat thumbnailFormat)
Parameters
Type | Name | Description |
---|---|---|
Thumbnail |
thumbnailFormat |
Properties
IsEmpty
Checks if this is an empty format or not
Declaration
public override bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override MediaFormatBase Clone()
Returns
Type | Description |
---|---|
Media |
A new object that is a copy of this instance. |
Overrides
CopyFrom(ThumbnailFormat)
Copies the values from the supplied format to the current instance
Declaration
protected void CopyFrom(ThumbnailFormat format)
Parameters
Type | Name | Description |
---|---|---|
Thumbnail |
format | The Image |
Exceptions
Type | Condition |
---|---|
System. |
If |
Equals(ThumbnailFormat)
Determines whether the specified Thumbnail
Declaration
public bool Equals(ThumbnailFormat other)
Parameters
Type | Name | Description |
---|---|---|
Thumbnail |
other | The Thumbnail |
Returns
Type | Description |
---|---|
System. |
true if the specified Thumbnail |
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj | The System. |
Returns
Type | Description |
---|---|
System. |
true if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code for the current System. |