Skip to content

ImageVariant

Namespace: MJCZone.MediaMatic.Models

Assembly: MJCZone.MediaMatic

Summary

Represents a variant of an uploaded image (different format or size).

public

Contents

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

Constructors

ImageVariant

csharp
ImageVariant()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

Path

Gets or sets the path to the variant file.

Type: string

Format

Gets or sets the image format.

Type: ImageFormat

Width

Gets or sets the width in pixels.

Type: int

Height

Gets or sets the height in pixels.

Type: int

FileSize

Gets or sets the file size in bytes.

Type: long

VariantType

Gets or sets the variant type (original, thumbnail, format variant).

Type: string?