Skip to main content

Arc.Size Property

Specifies the size of the segment.

Namespace: DevExpress.Diagram.Core.Shapes

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public CriteriaOperator Size { get; set; }

Property Value

Type Description
CriteriaOperator

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

Remarks

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" />

The following code snippets (auto-collected from DevExpress Examples) contain references to the Size property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also