Search Results for

    Show / Hide Table of Contents

    Class ThumbnailFormat

    A thumbnail format will always result in an image of the media.

    Inheritance
    System.Object
    MediaFormatBase
    TransformableFormat
    WebMediaFormat
    ThumbnailFormat
    ImageFormat
    ImageFormat
    Implements
    IMediaFormat
    IItem<System.Int32>
    System.ICloneable
    IResizeFormat
    Inherited Members
    WebMediaFormat.CopyFrom(WebMediaFormat)
    WebMediaFormat.Equals(WebMediaFormat)
    WebMediaFormat.Width
    WebMediaFormat.Height
    WebMediaFormat.KeepAspectRatio
    WebMediaFormat.AspectRatio
    TransformableFormat.CopyFrom(TransformableFormat)
    TransformableFormat.Equals(TransformableFormat)
    TransformableFormat.Effects
    MediaFormatBase.CopyFrom(MediaFormatBase)
    MediaFormatBase.Equals(MediaFormatBase)
    MediaFormatBase.Id
    MediaFormatBase.Name
    MediaFormatBase.MediaFormatOutputType
    MediaFormatBase.SystemFormat
    MediaFormatBase.IsInUse
    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
    ThumbnailFormat thumbnailFormat

    Properties

    IsEmpty

    Checks if this is an empty format or not

    Declaration
    public override bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    WebMediaFormat.IsEmpty

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override MediaFormatBase Clone()
    Returns
    Type Description
    MediaFormatBase

    A new object that is a copy of this instance.

    Overrides
    WebMediaFormat.Clone()

    CopyFrom(ThumbnailFormat)

    Copies the values from the supplied format to the current instance

    Declaration
    protected void CopyFrom(ThumbnailFormat format)
    Parameters
    Type Name Description
    ThumbnailFormat format

    The ImageFormat to copy from.

    Exceptions
    Type Condition
    System.ArgumentNullException

    If format is null.

    Equals(ThumbnailFormat)

    Determines whether the specified ThumbnailFormat is equal to the current ThumbnailFormat.

    Declaration
    public bool Equals(ThumbnailFormat other)
    Parameters
    Type Name Description
    ThumbnailFormat other

    The ThumbnailFormat to compare with the current ThumbnailFormat.

    Returns
    Type Description
    System.Boolean

    true if the specified ThumbnailFormat is equal to the current ThumbnailFormat; otherwise, false.

    Equals(Object)

    Determines whether the specified System.Object is equal to the current System.Object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The System.Object to compare with the current System.Object.

    Returns
    Type Description
    System.Boolean

    true if the specified System.Object is equal to the current System.Object; otherwise, false.

    Overrides
    WebMediaFormat.Equals(Object)

    GetHashCode()

    Serves as a hash function for a particular type.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A hash code for the current System.Object.

    Overrides
    WebMediaFormat.GetHashCode()

    Implements

    IMediaFormat
    IItem<T>
    System.ICloneable
    IResizeFormat

    Extension Methods

    MediaFormatBaseExtensions.GetEffect<T>(MediaFormatBase)
    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022