Skip to content

ImageUploadResult ​

Namespace: MJCZone.MediaMatic.Models

Assembly: MJCZone.MediaMatic

Summary ​

Result of an image upload operation.

public

Contents ​

Constructors (1) | Methods (4) | Properties (10)

Constructors ​

ImageUploadResult ​

csharp
ImageUploadResult()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Path ​

Gets or sets the path to the original (primary) uploaded image.

Type: string

Width ​

Gets or sets the original width in pixels.

Type: int?

Height ​

Gets or sets the original height in pixels.

Type: int?

FileSize ​

Gets or sets the file size in bytes.

Type: long?

MimeType ​

Gets or sets the MIME type.

Type: string?

Format ​

Gets or sets the detected image format.

Type: ImageFormat?

Metadata ​

Gets or sets the extracted metadata.

Type: MediaMetadata?

Variants ​

Gets or sets the generated variants (different formats and sizes).

Type: List<ImageVariant>

Success ​

Gets or sets a value indicating whether the upload was successful.

Type: bool?

ErrorMessage ​

Gets or sets error message if upload failed.

Type: string?