Arc.Size Property

Specifies the size of the segment.

Namespace: DevExpress.Diagram.Core.Shapes

Assembly: DevExpress.Diagram.v20.2.Core.dll


public CriteriaOperator Size { get; set; }

Property Value

Type Description

A DevExpress.Data.Filtering.CriteriaOperator expression that uses the CreateSize method.


The arc segment's size is specified using the CreateSize method that accepts absolute width and height values as parameters. You can pass the shape's current width and height as the method's parameters using the W and H variables respectively. To create an arc with a fixed height or width, pass a static value instead of a variable. The code snippet below illustrates how to create an arc half the size of the shape.

 <Arc X="1" Y="0" Size="CreateSize(W/2, H/2)" Direction="Counterclockwise" />
See Also