corelibraries-devexpress-dot-xtraprinting-dot-shape-dot-shapestar.md
Specifies the star‘s concavity value.
Namespace : DevExpress.XtraPrinting.Shape
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(50F)]
public float Concavity { get; set; }
<DefaultValue(50F)>
Public Property Concavity As Single
| Type | Default | Description |
|---|---|---|
| Single | 50 |
A Single value.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Concavity 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.
reporting-winforms-insert-a-shape-control/CS/Form1.cs#L132
// Adjust the Star shape's specific properties.
((ShapeStar)shape.Shape).Concavity = 50;
((ShapeStar)shape.Shape).StarPointCount = 7;
reporting-winforms-insert-a-shape-control/VB/Form1.vb#L112
' Adjust the Star shape's specific properties.
CType(shape.Shape, ShapeStar).Concavity = 50
CType(shape.Shape, ShapeStar).StarPointCount = 7
See Also