Skip to main content
A newer version of this page is available. .

DiagramCustomShape.ImageHeight Property

Specifies the height of the image in the shape.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(decimal), "1")]
public decimal ImageHeight { get; set; }

Property Value

Type Default Description
Decimal "1"

A decimal number from 0 to 1.

Remarks

The ImageHeight property specifies the ratio of the shape image’s height to the shape’s height. If the ImageHeight property is set to 1, the image height is equal to the shape height.

The absolute image height is calculated by multiplying the ImageHeight value by the shape’s height.

See Also