ImagePropertiesBase.Height Property
Gets or sets the image’s height.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Height property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.