Skip to main content
Tab

ImagePropertiesBase.Height Property

Gets or sets the image’s height.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(Unit), "")]
public virtual Unit Height { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit that represents the image’s height.

Remarks

Use the Height property to specify the height of the image defined by the ImagePropertiesBase class.

Note that in order to correctly display a PNG file with alpha channel at runtime, the image’s size (the ImagePropertiesBase.Width and Height properties) should be specified explicitly.

See Also