DiagramCustomShape.ImageTop Property
Specifies the top offset of the image in the shape.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Decimal | "0" | A decimal number from 0 to 1. |
Remarks
The ImageTop property specifies the ratio of the shape image’s top offset to the shape’s height. If the ImageTop option is set to 0, the image’s top edge matches the shape’s top edge.
The absolute offset is calculated by multiplying the ImageTop value by the shape’s height.
See Also