All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramCustomShape.ImageWidth Property

Specifies the width of the image in the shape.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(typeof(decimal), "1")]
public decimal ImageWidth { get; set; }
<DefaultValue(GetType(Decimal), "1")>
Public Property ImageWidth As Decimal

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