Spread Windows Forms 15.0
Spread Windows Forms 15.0 Product Documentation / Spread Designer Guide / Designing Shapes / Customizing Particular Shapes / Customizing a Line as an Arrow
In This Topic
    Customizing a Line as an Arrow
    In This Topic

    Besides an arrow shape, you can setup a line shape and change the ends to be arrow heads. You can create an arrow from a line shape in code or in the Spread Designer.

    When you create a line in the Spread Designer you can then set the start cap and end cap using the shape properties as shown here. Create a shape in the designer using the Insert menu and shape option, then right-click on the shape to set additional properties.

    Spread Designer Shape Properties Dialog with Arrow Head Menu

    The cap types are listed in this table, shown with a simulated image that roughly illustrates the appearance.

    Type of Cap Appearance

    Flat

    Flat Cap

    Square

    Square Cap

    Round

    Round Cap

    Triangle

    Triangle Cap

    NoAnchor

    No Anchor Cap

    SquareAnchor

    Square Anchor Cap

    RoundAnchor

    Round Anchor Cap

    DiamondAnchor

    Diamond Anchor Cap

    ArrowAnchor

    Arrow Anchor Cap

    AnchorMask

    Anchor Mask Cap

    Custom User-defined

    For more details on the line shape in code, refer to the LineShape class in the Assembly Reference.

    See Also