ImagePropertiesBase.Width Property
Gets or sets the image’s width.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Unit | String.Empty | A Unit that represents the image’s width. |
Remarks
Use the Width property to specify the width 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 Width and ImagePropertiesBase.Height properties) should be specified explicitly.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Width 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.