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

DiagramCustomShape.ImageWidth Property

Specifies the width 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 ImageWidth { get; set; }

Property Value

Type Default Description
Decimal "1"

A decimal number from 0 to 1.

Remarks

The ImageWidth property specifies the ratio of the shape image’s width to the shape’s width. If the ImageWidth option is set to 1, the image width is equal to the shape width.

The absolute image width is calculated by multiplying the ImageWidth value by the shape width.

See Also