Table of Contents

Class AssetDimensions

Namespace
CMS.MediaLibrary
Assembly
CMS.MediaLibrary.dll

Asset dimensions for an image.

[Obsolete("Media libraries and their APIs are obsolete and will be discontinued in the future. Please migrate all media library files to Content hub and use their corresponding content item APIs.")]
public sealed class AssetDimensions
Inheritance
object
AssetDimensions
Extension Methods

Constructors

AssetDimensions()

public AssetDimensions()

Properties

Height

Asset image height.

public int Height { get; set; }

Property Value

int

Width

Asset image width.

public int Width { get; set; }

Property Value

int