Back to Devexpress

ShapeStar.StarPointCount Property

corelibraries-devexpress-dot-xtraprinting-dot-shape-dot-shapestar-5c1eaf39.md

latest2.4 KB
Original Source

ShapeStar.StarPointCount Property

Gets or sets the number of points for the star shape.

Namespace : DevExpress.XtraPrinting.Shape

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(3)]
public int StarPointCount { get; set; }
vb
<DefaultValue(3)>
Public Property StarPointCount As Integer

Property Value

TypeDefaultDescription
Int323

An integer value that specifies the number of points for the star shape.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StarPointCount 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#L133

csharp
((ShapeStar)shape.Shape).Concavity = 50;
((ShapeStar)shape.Shape).StarPointCount = 7;
((ShapeStar)shape.Shape).Fillet = 5;

reporting-winforms-insert-a-shape-control/VB/Form1.vb#L113

vb
CType(shape.Shape, ShapeStar).Concavity = 50
CType(shape.Shape, ShapeStar).StarPointCount = 7
CType(shape.Shape, ShapeStar).Fillet = 5

See Also

ShapeStar Class

ShapeStar Members

DevExpress.XtraPrinting.Shape Namespace