Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    ShapeLine.CapType Property

    Gets or sets a cap style for line ends.

    Namespace: DevExpress.XtraRichEdit.API.Native

    Assembly: DevExpress.RichEdit.v25.1.Core.dll

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    LineCapType CapType { get; set; }

    #Property Value

    Type Description
    LineCapType

    An enumeration member that specifies the cap style.

    Available values:

    Name Description
    Round

    Specifies that a line has a round end.

    Square

    Specifies that a line has a square end.

    Flat

    Specifies that the line end is flat.

    #Remarks

    The image below shows three lines with different cap styles.

    Rich_ShapeLine_CapeType

    See Also