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

    ShapeGeometryPreset Enum

    Lists values that specify the shape geometry type.

    Namespace: DevExpress.XtraRichEdit.API.Native

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

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    public enum ShapeGeometryPreset

    #Members

    Name Description Example
    Custom

    A custom shape.

    LineInverse

    An inverse line shape.

    Spreadsheet_ShapeType_LineInverse

    Triangle

    An isosceles triangle.

    Spreadsheet_ShapeType_Triangle

    RightTriangle

    A right triangle.

    Spreadsheet_ShapeType_RightTriangle

    Rectangle

    A rectangle.

    Spreadsheet_ShapeType_Rectangle

    Diamond

    A diamond.

    Spreadsheet_ShapeType_Diamond

    Parallelogram

    A parallelogram.

    Spreadsheet_ShapeType_Parallelogram

    Trapezoid

    A trapezoid.

    Spreadsheet_ShapeType_Trapezoid

    NonIsoscelesTrapezoid

    A non-isosceles trapezoid.

    Spreadsheet_ShapeType_NonIsoscelesTrapezoid

    RegularPentagon

    A regular pentagon.

    Spreadsheet_ShapeType_RegularPentagon

    Hexagon

    A hexagon.

    Spreadsheet_ShapeType_Hexagon

    Heptagon

    A heptagon.

    Spreadsheet_ShapeType_Heptagon

    Octagon

    An octagon.

    Spreadsheet_ShapeType_Octagon

    Decagon

    A decagon.

    Spreadsheet_ShapeType_Decagon

    Dodecagon

    A dodecagon.

    Spreadsheet_ShapeType_Dodecagon

    Star4

    A 4-point star.

    Spreadsheet_ShapeType_Star4

    Star5

    A 5-point star.

    Spreadsheet_ShapeType_Star5

    Star6

    A 6-point star.

    Spreadsheet_ShapeType_Star6

    Star7

    A 7-point star.

    Spreadsheet_ShapeType_Star7

    Star8

    An 8-point star.

    Spreadsheet_ShapeType_Star8

    Star10

    A 10-point star.

    Spreadsheet_ShapeType_Star10

    Star12

    A 12-point star.

    Spreadsheet_ShapeType_Star12

    Star16

    A 16-point star.

    Spreadsheet_ShapeType_Star16

    Star24

    A 24-point star.

    Spreadsheet_ShapeType_Star24

    Star32

    A 32-point star.

    Spreadsheet_ShapeType_Star32

    RoundedRectangle

    A rounded rectangle.

    Spreadsheet_ShapeType_RoundedRectangle

    RoundSingleCornerRectangle

    A rectangle with one rounded corner.

    Spreadsheet_ShapeType_RoundSingleCornerRectangle

    RoundSameSideCornerRectangle

    A rectangle with two-rounded corners that share a side.

    Spreadsheet_ShapeType_RoundSameSideCornerRectangle

    RoundDiagonalCornerRectangle

    A rectangle with two rounded corners, diagonally-opposed.

    Spreadsheet_ShapeType_RoundDiagonalCornerRectangle

    SnipAndRoundSingleCornerRectangle

    A rectangle with one snipped corner and one rounded corner.

    Spreadsheet_ShapeType_SnipAndRoundSingleCornerRectangle

    SnipSingleCornerRectangle

    A rectangle with one snipped corner.

    Spreadsheet_ShapeType_SnipSingleCornerRectangle

    SnipSameSideCornerRectangle

    A rectangle with two snipped corners that share a side.

    Spreadsheet_ShapeType_SnipSameSideCornerRectangle

    SnipDiagonalCornerRectangle

    A rectangle with two snipped corners, diagonally-opposed.

    Spreadsheet_ShapeType_SnipDiagonalCornerRectangle

    Plaque

    A plaque.

    Spreadsheet_ShapeType_Plaque

    Oval

    An oval.

    Spreadsheet_ShapeType_Oval

    Teardrop

    A water droplet.

    Spreadsheet_ShapeType_Teardrop

    Pentagon

    A pentagon.

    Spreadsheet_ShapeType_Pentagon

    Chevron

    A chevron.

    Spreadsheet_ShapeType_Chevron

    PieWedge

    A quarter of a circular shape.

    Spreadsheet_ShapeType_PieWedge

    Pie

    A circle with a portion missing.

    Spreadsheet_ShapeType_Pie

    BlockArc

    A block arc.

    Spreadsheet_ShapeType_BlockArc

    Donut

    A donut.

    Spreadsheet_ShapeType_Donut

    NoSymbol

    A prohibition sign.

    Spreadsheet_ShapeType_NoSymbol

    RightArrow

    A block arrow that points right.

    Spreadsheet_ShapeType_RightArrow

    LeftArrow

    A block arrow that points left.

    Spreadsheet_ShapeType_LeftArrow

    UpArrow

    A block arrow that points up.

    Spreadsheet_ShapeType_UpArrow

    DownArrow

    A block arrow that points down.

    Spreadsheet_ShapeType_DownArrow

    StripedRightArrow

    A block arrow that points right and has stripes on the tail.

    Spreadsheet_ShapeType_StripedRightArrow

    NotchedRightArrow

    A notched block arrow that points right.

    Spreadsheet_ShapeType_NotchedRightArrow

    BentUpArrow

    A block arrow that follows a sharp 90-degree angle and points up by default.

    Spreadsheet_ShapeType_BentUpArrow

    LeftRightArrow

    A block arrow that points left and right.

    Spreadsheet_ShapeType_LeftRightArrow

    UpDownArrow

    A block arrow that points up and down.

    Spreadsheet_ShapeType_UpDownArrow

    LeftUpArrow

    A block arrow that points left and up.

    Spreadsheet_ShapeType_LeftUpArrow

    LeftRightUpArrow

    A block arrow that points left, right, and up.

    Spreadsheet_ShapeType_LeftRightUpArrow

    QuadArrow

    A block arrow that points up, down, left, and right.

    Spreadsheet_ShapeType_QuadArrow

    LeftArrowCallout

    A callout with an arrow that points left.

    Spreadsheet_ShapeType_LeftArrowCallout

    RightArrowCallout

    A callout with an arrow that points right.

    Spreadsheet_ShapeType_RightArrowCallout

    UpArrowCallout

    A callout with an arrow that points up.

    Spreadsheet_ShapeType_UpArrowCallout

    DownArrowCallout

    A callout with an arrow that points down.

    Spreadsheet_ShapeType_DownArrowCallout

    LeftRightArrowCallout

    A callout with arrows that point both left and right.

    Spreadsheet_ShapeType_LeftRightArrowCallout

    UpDownArrowCallout

    A callout with arrows that point up and down.

    Spreadsheet_ShapeType_UpDownArrowCallout

    QuadArrowCallout

    A callout with arrows that point up, down, left, and right.

    Spreadsheet_ShapeType_QuadArrowCallout

    BentArrow

    A block arrow that follows a curved 90-degree angle.

    Spreadsheet_ShapeType_BentArrow

    UTurnArrow

    A block arrow that forms a U-shape.

    Spreadsheet_ShapeType_UTurnArrow

    CircularArrow

    A block arrow that follows a curved 180-degree angle.

    Spreadsheet_ShapeType_CircularArrow

    LeftCircularArrow

    A circular arrow pointing counter-clockwise.

    Spreadsheet_ShapeType_LeftCircularArrow

    LeftRightCircularArrow

    A circular arrow pointing both clockwise and counter-clockwise.

    Spreadsheet_ShapeType_LeftRightCircularArrow

    CurvedRightArrow

    A block arrow that curves right.

    Spreadsheet_ShapeType_CurvedRightArrow

    CurvedLeftArrow

    A block arrow that curves left.

    Spreadsheet_ShapeType_CurvedLeftArrow

    CurvedUpArrow

    A block arrow that curves up.

    Spreadsheet_ShapeType_CurvedUpArrow

    CurvedDownArrow

    A block arrow that curves down.

    Spreadsheet_ShapeType_CurvedDownArrow

    SwooshArrow

    A curved arrow.

    Spreadsheet_ShapeType_SwooshArrow

    Cube

    A cube.

    Spreadsheet_ShapeType_Cube

    Can

    A can.

    Spreadsheet_ShapeType_Can

    LightningBolt

    A lightning bolt.

    Spreadsheet_ShapeType_LightningBolt

    Heart

    A heart.

    Spreadsheet_ShapeType_Heart

    Sun

    A sun shape.

    Spreadsheet_ShapeType_Sun

    Moon

    A moon shape.

    Spreadsheet_ShapeType_Moon

    SmileyFace

    A smiley face.

    Spreadsheet_ShapeType_SmileyFace

    Explosion1

    An explosion shape.

    Spreadsheet_ShapeType_Explosion1

    Explosion2

    An explosion shape.

    Spreadsheet_ShapeType_Explosion2

    FoldedCorner

    A rectangle with a folded corner.

    Spreadsheet_ShapeType_FoldedCorner

    Bevel

    A bevel.

    Spreadsheet_ShapeType_Bevel

    Frame

    A rectangular picture frame.

    Spreadsheet_ShapeType_Frame

    HalfFrame

    Half of a rectangular picture frame.

    Spreadsheet_ShapeType_HalfFrame

    LShape

    An L-shape.

    Spreadsheet_ShapeType_LShape

    DiagonalStripe

    A diagonal stripe.

    Spreadsheet_ShapeType_DiagonalStripe

    Chord

    A circle with a chord.

    Spreadsheet_ShapeType_Chord

    Arc

    An arc.

    Spreadsheet_ShapeType_Arc

    LeftBracket

    An opening bracket.

    Spreadsheet_ShapeType_LeftBracket

    RightBracket

    A closing bracket.

    Spreadsheet_ShapeType_RightBracket

    LeftBrace

    An opening brace.

    Spreadsheet_ShapeType_LeftBrace

    RightBrace

    A closing brace.

    Spreadsheet_ShapeType_RightBrace

    DoubleBracket

    A pair of brackets.

    Spreadsheet_ShapeType_DoubleBracket

    DoubleBrace

    A pair of braces.

    Spreadsheet_ShapeType_DoubleBrace

    LineCallout1

    A callout with no border and a straight callout line.

    Spreadsheet_ShapeType_LineCallout1

    LineCallout2

    A callout with no border and a two-segment callout line.

    Spreadsheet_ShapeType_LineCallout2

    LineCallout3

    A callout with no border and a three-segment callout line.

    Spreadsheet_ShapeType_LineCallout3

    AccentLineCallout1

    A callout with an accent bar and a straight callout line.

    Spreadsheet_ShapeType_AccentLineCallout1

    AccentLineCallout2

    A callout with an accent bar and a two-segment callout line.

    Spreadsheet_ShapeType_AccentLineCallout2

    AccentLineCallout3

    A callout with an accent bar and a three-segment callout line.

    Spreadsheet_ShapeType_AccentLineCallout3

    BorderLineCallout1

    A callout with a border and a straight callout line.

    Spreadsheet_ShapeType_BorderLineCallout1

    BorderLineCallout2

    A callout with a border and a two-segment callout line.

    Spreadsheet_ShapeType_BorderLineCallout2

    BorderLineCallout3

    A callout with a border and a three-segment callout line.

    Spreadsheet_ShapeType_BorderLineCallout3

    AccentBorderLineCallout1

    A callout with a border, accent bar, and a straight callout line.

    Spreadsheet_ShapeType_AccentBorderLineCallout1

    AccentBorderLineCallout2

    A callout with a border, accent bar, and a two-segment callout line.

    Spreadsheet_ShapeType_AccentBorderLineCallout2

    AccentBorderLineCallout3

    A callout with a border, accent bar, and a three-segment callout line.

    Spreadsheet_ShapeType_AccentBorderLineCallout3

    RectangularCallout

    A rectangular callout.

    Spreadsheet_ShapeType_RectangularCallout

    RoundedRectangularCallout

    A rectangular callout with rounded corners.

    Spreadsheet_ShapeType_RoundedRectangularCallout

    OvalCallout

    An oval-shaped callout.

    Spreadsheet_ShapeType_OvalCallout

    CloudCallout

    A cloud callout.

    Spreadsheet_ShapeType_CloudCallout

    Cloud

    A cloud shape.

    Spreadsheet_ShapeType_Cloud

    DownRibbon

    A ribbon banner with its center area below the ribbon ends.

    Spreadsheet_ShapeType_DownRibbon

    UpRibbon

    A ribbon banner with its center area above the ribbon ends.

    Spreadsheet_ShapeType_UpRibbon

    CurvedDownRibbon

    A curved down ribbon banner.

    Spreadsheet_ShapeType_CurvedDownRibbon

    CurvedUpRibbon

    A curved up ribbon banner.

    Spreadsheet_ShapeType_CurvedUpRibbon

    LeftRightRibbon

    A ribbon with an arrow at both ends.

    Spreadsheet_ShapeType_LeftRightRibbon

    VerticalScroll

    A vertical scroll.

    Spreadsheet_ShapeType_VerticalScroll

    HorizontalScroll

    A horizontal scroll.

    Spreadsheet_ShapeType_HorizontalScroll

    Wave

    A wave.

    Spreadsheet_ShapeType_Wave

    DoubleWave

    A double wave.

    Spreadsheet_ShapeType_DoubleWave

    Cross

    A cross.

    Spreadsheet_ShapeType_Cross

    FlowChartProcess

    The Process flowchart symbol.

    Spreadsheet_ShapeType_FlowChartProcess

    FlowChartDecision

    The Decision flowchart symbol.

    Spreadsheet_ShapeType_Decision

    FlowChartInputOutput

    The Input/Output (Data) flowchart symbol.

    Spreadsheet_ShapeType_Data

    FlowChartPredefinedProcess

    The Predefined Process flowchart symbol.

    Spreadsheet_ShapeType_PredefinedProcess

    FlowChartInternalStorage

    The Internal Storage flowchart symbol.

    Spreadsheet_ShapeType_InternalStorage

    FlowChartDocument

    The Document flowchart symbol.

    Spreadsheet_ShapeType_Document

    FlowChartMultidocument

    The Multi-document flowchart symbol.

    Spreadsheet_ShapeType_Multidocument

    FlowChartTerminator

    The Terminator flowchart symbol.

    Spreadsheet_ShapeType_Terminator

    FlowChartPreparation

    The Preparation flowchart symbol.

    Spreadsheet_ShapeType_Preparation

    FlowChartManualInput

    The Manual Input flowchart symbol.

    Spreadsheet_ShapeType_ManualInput

    FlowChartManualOperation

    The Manual Operation flowchart symbol.

    Spreadsheet_ShapeType_ManualOperation

    FlowChartConnector

    The Connector flowchart symbol.

    Spreadsheet_ShapeType_Connector

    FlowChartPunchedCard

    The Card flowchart symbol.

    Spreadsheet_ShapeType_Card

    FlowChartPunchedTape

    The Punched Tape flowchart symbol.

    Spreadsheet_ShapeType_PunchedTape

    FlowChartSummingJunction

    The Summing Junction flowchart symbol.

    Spreadsheet_ShapeType_SummingJunction

    FlowChartOr

    The Or flowchart symbol.

    Spreadsheet_ShapeType_Or

    FlowChartCollate

    The Collate flowchart symbol.

    Spreadsheet_ShapeType_Collate

    FlowChartSort

    The Sort flowchart symbol.

    Spreadsheet_ShapeType_Sort

    FlowChartExtract

    The Extract flowchart symbol.

    Spreadsheet_ShapeType_Extract

    FlowChartMerge

    The Merge flowchart symbol.

    Spreadsheet_ShapeType_Merge

    FlowChartOfflineStorage

    The Offline Storage flowchart symbol.

    Spreadsheet_ShapeType_OfflineStorage

    FlowChartStoredData

    The Stored Data flowchart symbol.

    Spreadsheet_ShapeType_StoredData

    FlowChartMagneticTape

    The Magnetic Tape (Sequential Access Storage) flowchart symbol.

    Spreadsheet_ShapeType_MagneticTape

    FlowChartMagneticDisk

    The Magnetic Disk flowchart symbol.

    Spreadsheet_ShapeType_MagneticDisk

    FlowChartDirectAccessStorage

    The Direct Access Storage flowchart symbol.

    Spreadsheet_ShapeType_MagneticDrum

    FlowChartDisplay

    The Display flowchart symbol.

    Spreadsheet_ShapeType_Display

    FlowChartDelay

    The Delay flowchart symbol.

    Spreadsheet_ShapeType_Delay

    FlowChartAlternateProcess

    The Alternate Process flowchart symbol.

    Spreadsheet_ShapeType_AlternateProcess

    FlowChartOffpageConnector

    The Off-page Connector flowchart symbol.

    Spreadsheet_ShapeType_OffpageConnector

    ActionButtonBlank

    An empty button.

    Spreadsheet_ShapeType_ActionButtonBlank

    ActionButtonHome

    The Home button.

    Spreadsheet_ShapeType_ActionButtonHome

    ActionButtonHelp

    The Help button.

    Spreadsheet_ShapeType_ActionButtonHelp

    ActionButtonInformation

    The Information button.

    Spreadsheet_ShapeType_ActionButtonInformation

    ActionButtonForwardNext

    The Forward or Next button.

    Spreadsheet_ShapeType_ActionButtonForwardNext

    ActionButtonBackPrevious

    The Back or Previous button.

    Spreadsheet_ShapeType_ActionButtonBackPrevious

    ActionButtonEnd

    The End button.

    Spreadsheet_ShapeType_ActionButtonEnd

    ActionButtonBeginning

    The Beginning button.

    Spreadsheet_ShapeType_ActionButtonBeginning

    ActionButtonReturn

    The Return button.

    Spreadsheet_ShapeType_ActionButtonReturn

    ActionButtonDocument

    The Document button.

    Spreadsheet_ShapeType_ActionButtonDocument

    ActionButtonSound

    The Sound button.

    Spreadsheet_ShapeType_ActionButtonSound

    ActionButtonMovie

    The Movie button.

    Spreadsheet_ShapeType_ActionButtonMovie

    Gear6

    A gear with six teeth.

    Spreadsheet_ShapeType_Gear6

    Gear9

    A gear with nine teeth.

    Spreadsheet_ShapeType_Gear9

    Funnel

    A funnel.

    Spreadsheet_ShapeType_Funnel

    Plus

    A plus sign.

    Spreadsheet_ShapeType_Plus

    Minus

    A minus sign.

    Spreadsheet_ShapeType_Minus

    Multiply

    A multiplication sign.

    Spreadsheet_ShapeType_Multiply

    Division

    A division sign.

    Spreadsheet_ShapeType_Division

    Equal

    An equal sign.

    Spreadsheet_ShapeType_Equal

    NotEqual

    A not-equal sign.

    Spreadsheet_ShapeType_NotEqual

    CornerTabs

    Four right triangles that define a rectangular shape.

    Spreadsheet_ShapeType_CornerTabs

    SquareTabs

    Four small squares that define a rectangular shape.

    Spreadsheet_ShapeType_SquareTabs

    PlaqueTabs

    Four quarter circles that define a rectangular shape.

    Spreadsheet_ShapeType_PlaqueTabs

    ChartX

    A rectangle divided into four parts along diagonal lines.

    Spreadsheet_ShapeType_ChartX

    ChartStar

    A rectangle divided into six parts along a vertical line and diagonal lines.

    Spreadsheet_ShapeType_ChartStar

    ChartPlus

    A rectangle divided vertically and horizontally into four quarters.

    Spreadsheet_ShapeType_ChartPlus

    #Related API Members

    The following properties accept/return ShapeGeometryPreset values:

    #Remarks

    Use the following methods to create shapes:

    The ShapeFormat.Preset property allows you to change an existing shape’s type.

    See Also