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: 13.30.0Syntax
public class ImageThumbnailResolveEventArgs : EventArgs
Constructors
ImageThumbnailResolveEventArgs(FileStreamInfo, Boolean, Int32, Boolean, String)
Initializes a new instance of the Image
Declaration
public ImageThumbnailResolveEventArgs(FileStreamInfo StreamInfo, bool StretchSmallImages, int MaxThumbnailDimension, bool Processed, string ErrorMessage)
Parameters
Type | Name | Description |
---|---|---|
File |
StreamInfo | The stream info. |
System. |
StretchSmallImages | if set to |
System. |
MaxThumbnailDimension | The max thumbnail dimension. |
System. |
Processed | if set to |
System. |
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. |
The error message. |
MaxThumbnailDimension
Gets the max thumbnail dimension.
Declaration
public int MaxThumbnailDimension { get; }
Property Value
Type | Description |
---|---|
System. |
The max thumbnail dimension. |
Processed
Gets or sets a value indicating whether this Image
Declaration
public bool Processed { get; set; }
Property Value
Type | Description |
---|---|
System. |
|
StreamInfo
Gets the file stream info for generating thumbnail.
Declaration
public FileStreamInfo StreamInfo { get; }
Property Value
Type | Description |
---|---|
File |
The file stream info. |
StretchSmallImages
Gets a value indicating whether [stretch small images].
Declaration
public bool StretchSmallImages { get; }
Property Value
Type | Description |
---|---|
System. |
|