Spread Windows Forms 17
Spread Windows Forms 17.0 Product Documentation / Spread Designer Guide / Designing Shapes / Customizing Particular Shapes / Customizing a Polygon
In This Topic
    Customizing a Polygon
    In This Topic

    The polygon (or multiple-sided shape) is unique among the shapes that can be placed on a sheet. This shape allows you to specify any number of sides (above four). The Rectangle and Triangle and Line shapes already cover the shapes with lower number sided shapes. You can create a polygon in code or in the Spread Designer.

    When you create a polygon in code, you must set the number of sides.

    When you create a polygon in the Spread Designer you are asked the number of sides with the dialog that is shown here.

    Spread Designer Polygon Properties Dialog

    The number of sides must be an integer.

    For more details on the polygon in code, refer to the MultiSideShape class.

    See Also