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

DiagramCustomShape.ImageLeft Property

Specifies the left offset 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), "0")]
public decimal ImageLeft { get; set; }

Property Value

Type Default Description
Decimal "0"

A decimal number from 0 to 1.

Remarks

The ImageLeft property specifies the ratio of the shape image’s left offset to the shape’s width. If the ImageLeft option is set to 0, the image’s left edge matches the shape’s left edge.

The absolute offset is calculated by multiplying the ImageLeft value by the shape’s width.

See Also