Back to Devexpress

ImagePropertiesBase.Height Property

aspnet-devexpress-dot-web-dot-imagepropertiesbase-830bf475.md

latest1.6 KB
Original Source

ImagePropertiesBase.Height Property

Gets or sets the image’s height.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(typeof(Unit), "")]
public virtual Unit Height { get; set; }
vb
<DefaultValue(GetType(Unit), "")>
Public Overridable Property Height As Unit

Property Value

TypeDefaultDescription
UnitString.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

Width

ImagePropertiesBase Class

ImagePropertiesBase Members

DevExpress.Web Namespace