Class ImageThumbnailResolveEventArgs

Provides data for the Render event.

Inheritance
System.Object
System.EventArgs
ImageThumbnailResolveEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.FileUploader
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public class ImageThumbnailResolveEventArgs : EventArgs

Constructors

ImageThumbnailResolveEventArgs(FileStreamInfo, Boolean, Int32, Boolean, String)

Initializes a new instance of the ImageThumbnailResolveEventArgs class.

Declaration
public ImageThumbnailResolveEventArgs(FileStreamInfo StreamInfo, bool StretchSmallImages, int MaxThumbnailDimension, bool Processed, string ErrorMessage)
Parameters
Type Name Description
FileStreamInfo StreamInfo

The stream info.

System.Boolean StretchSmallImages

if set to true [stretch small images].

System.Int32 MaxThumbnailDimension

The max thumbnail dimension.

System.Boolean Processed

if set to true [processed].

System.String ErrorMessage

The error message.

Properties

ErrorMessage

Gets or sets the error message occured during generating image thumbnail.

Declaration
public string ErrorMessage { get; set; }
Property Value
Type Description
System.String

The error message.

MaxThumbnailDimension

Gets the max thumbnail dimension.

Declaration
public int MaxThumbnailDimension { get; }
Property Value
Type Description
System.Int32

The max thumbnail dimension.

Processed

Gets or sets a value indicating whether this ImageThumbnailResolveEventArgs was successfully processed.

Declaration
public bool Processed { get; set; }
Property Value
Type Description
System.Boolean

true if processed; otherwise, false.

StreamInfo

Gets the file stream info for generating thumbnail.

Declaration
public FileStreamInfo StreamInfo { get; }
Property Value
Type Description
FileStreamInfo

The file stream info.

StretchSmallImages

Gets a value indicating whether [stretch small images].

Declaration
public bool StretchSmallImages { get; }
Property Value
Type Description
System.Boolean

true if [stretch small images]; otherwise, false.