All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
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.TemplateHeight Property

Specifies the shape template's fractional height.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

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

Property Value

Type Default Description
Decimal

"1"

A decimal number from 0 to 1.

Remarks

The TemplateHeight specifies a fraction from 0 to 1 that represents the shape template height in relation to the shape height. If the TemplateHeight property is set to 1, the template height is equal to the shape height.

The absolute template height is calculated by multiplying the TemplateHeight value by the shape height.

See Also