ShapeType Enumeration
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDrawing.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDrawing.from the setup.dll
Description
Determines the type a shape can have. All types are similar to the preset shapes defined by ISO/IEC 29500-1 in section 20.1.10.55. The enumeration contains the following values:
Syntax
public enum ShapeTypePublic Enum ShapeTypeMembers
| Member | Value | Description |
|---|---|---|
| Line | 1 | Line Shape. When the item is serialized out as xml, its value is "line". |
| LineInverse | 2 | Line Inverse Shape. When the item is serialized out as xml, its value is "lineInv". |
| Triangle | 3 | Triangle Shape. When the item is serialized out as xml, its value is "triangle". |
| RightTriangle | 4 | Right Triangle Shape. When the item is serialized out as xml, its value is "rtTriangle". |
| Rectangle | 5 | Rectangle Shape. When the item is serialized out as xml, its value is "rect". |
| Diamond | 6 | Diamond Shape. When the item is serialized out as xml, its value is "diamond". |
| Parallelogram | 7 | Parallelogram Shape. When the item is serialized out as xml, its value is "parallelogram". |
| Trapezoid | 8 | Trapezoid Shape. When the item is serialized out as xml, its value is "trapezoid". |
| NonIsoscelesTrapezoid | 9 | Non-Isosceles Trapezoid Shape. When the item is serialized out as xml, its value is "nonIsoscelesTrapezoid". |
| Pentagon | 10 | Pentagon Shape. When the item is serialized out as xml, its value is "pentagon". |
| Hexagon | 11 | Hexagon Shape. When the item is serialized out as xml, its value is "hexagon". |
| Heptagon | 12 | Heptagon Shape. When the item is serialized out as xml, its value is "heptagon". |
| Octagon | 13 | Octagon Shape. When the item is serialized out as xml, its value is "octagon". |
| Decagon | 14 | Decagon Shape. When the item is serialized out as xml, its value is "decagon". |
| Dodecagon | 15 | Dodecagon Shape. When the item is serialized out as xml, its value is "dodecagon". |
| Star4 | 16 | Four Pointed Star Shape. When the item is serialized out as xml, its value is "star4". |
| Star5 | 17 | Five Pointed Star Shape. When the item is serialized out as xml, its value is "star5". |
| Star6 | 18 | Six Pointed Star Shape. When the item is serialized out as xml, its value is "star6". |
| Star7 | 19 | Seven Pointed Star Shape. When the item is serialized out as xml, its value is "star7". |
| Star8 | 20 | Eight Pointed Star Shape. When the item is serialized out as xml, its value is "star8". |
| Star10 | 21 | Ten Pointed Star Shape. When the item is serialized out as xml, its value is "star10". |
| Star12 | 22 | Twelve Pointed Star Shape. When the item is serialized out as xml, its value is "star12". |
| Star16 | 23 | Sixteen Pointed Star Shape. When the item is serialized out as xml, its value is "star16". |
| Star24 | 24 | Twenty Four Pointed Star Shape. When the item is serialized out as xml, its value is "star24". |
| Star32 | 25 | Thirty Two Pointed Star Shape. When the item is serialized out as xml, its value is "star32". |
| RoundRectangle | 26 | Round Corner Rectangle Shape. When the item is serialized out as xml, its value is "roundRect". |
| Round1Rectangle | 27 | One Round Corner Rectangle Shape. When the item is serialized out as xml, its value is "round1Rect". |
| Round2SameRectangle | 28 | Two Same-side Round Corner Rectangle Shape. When the item is serialized out as xml, its value is "round2SameRect". |
| Round2DiagonalRectangle | 29 | Two Diagonal Round Corner Rectangle Shape. When the item is serialized out as xml, its value is "round2DiagRect". |
| SnipRoundRectangle | 30 | One Snip One Round Corner Rectangle Shape. When the item is serialized out as xml, its value is "snipRoundRect". |
| Snip1Rectangle | 31 | One Snip Corner Rectangle Shape. When the item is serialized out as xml, its value is "snip1Rect". |
| Snip2SameRectangle | 32 | Two Same-side Snip Corner Rectangle Shape. When the item is serialized out as xml, its value is "snip2SameRect". |
| Snip2DiagonalRectangle | 33 | Two Diagonal Snip Corner Rectangle Shape. When the item is serialized out as xml, its value is "snip2DiagRect". |
| Plaque | 34 | Plaque Shape. When the item is serialized out as xml, its value is "plaque". |
| Ellipse | 35 | Ellipse Shape. When the item is serialized out as xml, its value is "ellipse". |
| Teardrop | 36 | Teardrop Shape. When the item is serialized out as xml, its value is "teardrop". |
| HomePlate | 37 | Home Plate Shape. When the item is serialized out as xml, its value is "homePlate". |
| Chevron | 38 | Chevron Shape. When the item is serialized out as xml, its value is "chevron". |
| PieWedge | 39 | Pie Wedge Shape. When the item is serialized out as xml, its value is "pieWedge". |
| Pie | 40 | Pie Shape. When the item is serialized out as xml, its value is "pie". |
| BlockArc | 41 | Block Arc Shape. When the item is serialized out as xml, its value is "blockArc". |
| Donut | 42 | Donut Shape. When the item is serialized out as xml, its value is "donut". |
| NoSmoking | 43 | No Smoking Shape. When the item is serialized out as xml, its value is "noSmoking". |
| RightArrow | 44 | Right Arrow Shape. When the item is serialized out as xml, its value is "rightArrow". |
| LeftArrow | 45 | Left Arrow Shape. When the item is serialized out as xml, its value is "leftArrow". |
| UpArrow | 46 | Up Arrow Shape. When the item is serialized out as xml, its value is "upArrow". |
| DownArrow | 47 | Down Arrow Shape. When the item is serialized out as xml, its value is "downArrow". |
| StripedRightArrow | 48 | Striped Right Arrow Shape. When the item is serialized out as xml, its value is "stripedRightArrow". |
| NotchedRightArrow | 49 | Notched Right Arrow Shape. When the item is serialized out as xml, its value is "notchedRightArrow". |
| BentUpArrow | 50 | Bent Up Arrow Shape. When the item is serialized out as xml, its value is "bentUpArrow". |
| LeftRightArrow | 51 | Left Right Arrow Shape. When the item is serialized out as xml, its value is "leftRightArrow". |
| UpDownArrow | 52 | Up Down Arrow Shape. When the item is serialized out as xml, its value is "upDownArrow". |
| LeftUpArrow | 53 | Left Up Arrow Shape. When the item is serialized out as xml, its value is "leftUpArrow". |
| LeftRightUpArrow | 54 | Left Right Up Arrow Shape. When the item is serialized out as xml, its value is "leftRightUpArrow". |
| QuadArrow | 55 | Quad-Arrow Shape. When the item is serialized out as xml, its value is "quadArrow". |
| LeftArrowCallout | 56 | Callout Left Arrow Shape. When the item is serialized out as xml, its value is "leftArrowCallout". |
| RightArrowCallout | 57 | Callout Right Arrow Shape. When the item is serialized out as xml, its value is "rightArrowCallout". |
| UpArrowCallout | 58 | Callout Up Arrow Shape. When the item is serialized out as xml, its value is "upArrowCallout". |
| DownArrowCallout | 59 | Callout Down Arrow Shape. When the item is serialized out as xml, its value is "downArrowCallout". |
| LeftRightArrowCallout | 60 | Callout Left Right Arrow Shape. When the item is serialized out as xml, its value is "leftRightArrowCallout". |
| UpDownArrowCallout | 61 | Callout Up Down Arrow Shape. When the item is serialized out as xml, its value is "upDownArrowCallout". |
| QuadArrowCallout | 62 | Callout Quad-Arrow Shape. When the item is serialized out as xml, its value is "quadArrowCallout". |
| BentArrow | 63 | Bent Arrow Shape. When the item is serialized out as xml, its value is "bentArrow". |
| UTurnArrow | 64 | U-Turn Arrow Shape. When the item is serialized out as xml, its value is "uturnArrow". |
| CircularArrow | 65 | Circular Arrow Shape. When the item is serialized out as xml, its value is "circularArrow". |
| LeftCircularArrow | 66 | Left Circular Arrow Shape. When the item is serialized out as xml, its value is "leftCircularArrow". |
| LeftRightCircularArrow | 67 | Left Right Circular Arrow Shape. When the item is serialized out as xml, its value is "leftRightCircularArrow". |
| CurvedRightArrow | 68 | Curved Right Arrow Shape. When the item is serialized out as xml, its value is "curvedRightArrow". |
| CurvedLeftArrow | 69 | Curved Left Arrow Shape. When the item is serialized out as xml, its value is "curvedLeftArrow". |
| CurvedUpArrow | 70 | Curved Up Arrow Shape. When the item is serialized out as xml, its value is "curvedUpArrow". |
| CurvedDownArrow | 71 | Curved Down Arrow Shape. When the item is serialized out as xml, its value is "curvedDownArrow". |
| SwooshArrow | 72 | Swoosh Arrow Shape. When the item is serialized out as xml, its value is "swooshArrow". |
| Cube | 73 | Cube Shape. When the item is serialized out as xml, its value is "cube". |
| Can | 74 | Can Shape. When the item is serialized out as xml, its value is "can". |
| LightningBolt | 75 | Lightning Bolt Shape. When the item is serialized out as xml, its value is "lightningBolt". |
| Heart | 76 | Heart Shape. When the item is serialized out as xml, its value is "heart". |
| Sun | 77 | Sun Shape. When the item is serialized out as xml, its value is "sun". |
| Moon | 78 | Moon Shape. When the item is serialized out as xml, its value is "moon". |
| SmileyFace | 79 | Smiley Face Shape. When the item is serialized out as xml, its value is "smileyFace". |
| IrregularSeal1 | 80 | Irregular Seal 1 Shape. When the item is serialized out as xml, its value is "irregularSeal1". |
| IrregularSeal2 | 81 | Irregular Seal 2 Shape. When the item is serialized out as xml, its value is "irregularSeal2". |
| FoldedCorner | 82 | Folded Corner Shape. When the item is serialized out as xml, its value is "foldedCorner". |
| Bevel | 83 | Bevel Shape. When the item is serialized out as xml, its value is "bevel". |
| Frame | 84 | Frame Shape. When the item is serialized out as xml, its value is "frame". |
| HalfFrame | 85 | Half Frame Shape. When the item is serialized out as xml, its value is "halfFrame". |
| Corner | 86 | Corner Shape. When the item is serialized out as xml, its value is "corner". |
| DiagonalStripe | 87 | Diagonal Stripe Shape. When the item is serialized out as xml, its value is "diagStripe". |
| Chord | 88 | Chord Shape. When the item is serialized out as xml, its value is "chord". |
| Arc | 89 | Curved Arc Shape. When the item is serialized out as xml, its value is "arc". |
| LeftBracket | 90 | Left Bracket Shape. When the item is serialized out as xml, its value is "leftBracket". |
| RightBracket | 91 | Right Bracket Shape. When the item is serialized out as xml, its value is "rightBracket". |
| LeftBrace | 92 | Left Brace Shape. When the item is serialized out as xml, its value is "leftBrace". |
| RightBrace | 93 | Right Brace Shape. When the item is serialized out as xml, its value is "rightBrace". |
| BracketPair | 94 | Bracket Pair Shape. When the item is serialized out as xml, its value is "bracketPair". |
| BracePair | 95 | Brace Pair Shape. When the item is serialized out as xml, its value is "bracePair". |
| StraightConnector1 | 96 | Straight Connector 1 Shape. When the item is serialized out as xml, its value is "straightConnector1". |
| BentConnector2 | 97 | Bent Connector 2 Shape. When the item is serialized out as xml, its value is "bentConnector2". |
| BentConnector3 | 98 | Bent Connector 3 Shape. When the item is serialized out as xml, its value is "bentConnector3". |
| BentConnector4 | 99 | Bent Connector 4 Shape. When the item is serialized out as xml, its value is "bentConnector4". |
| BentConnector5 | 100 | Bent Connector 5 Shape. When the item is serialized out as xml, its value is "bentConnector5". |
| CurvedConnector2 | 101 | Curved Connector 2 Shape. When the item is serialized out as xml, its value is "curvedConnector2". |
| CurvedConnector3 | 102 | Curved Connector 3 Shape. When the item is serialized out as xml, its value is "curvedConnector3". |
| CurvedConnector4 | 103 | Curved Connector 4 Shape. When the item is serialized out as xml, its value is "curvedConnector4". |
| CurvedConnector5 | 104 | Curved Connector 5 Shape. When the item is serialized out as xml, its value is "curvedConnector5". |
| Callout1 | 105 | Callout 1 Shape. When the item is serialized out as xml, its value is "callout1". |
| Callout2 | 106 | Callout 2 Shape. When the item is serialized out as xml, its value is "callout2". |
| Callout3 | 107 | Callout 3 Shape. When the item is serialized out as xml, its value is "callout3". |
| AccentCallout1 | 108 | Callout 1 Shape. When the item is serialized out as xml, its value is "accentCallout1". |
| AccentCallout2 | 109 | Callout 2 Shape. When the item is serialized out as xml, its value is "accentCallout2". |
| AccentCallout3 | 110 | Callout 3 Shape. When the item is serialized out as xml, its value is "accentCallout3". |
| BorderCallout1 | 111 | Callout 1 with Border Shape. When the item is serialized out as xml, its value is "borderCallout1". |
| BorderCallout2 | 112 | Callout 2 with Border Shape. When the item is serialized out as xml, its value is "borderCallout2". |
| BorderCallout3 | 113 | Callout 3 with Border Shape. When the item is serialized out as xml, its value is "borderCallout3". |
| AccentBorderCallout1 | 114 | Callout 1 with Border and Accent Shape. When the item is serialized out as xml, its value is "accentBorderCallout1". |
| AccentBorderCallout2 | 115 | Callout 2 with Border and Accent Shape. When the item is serialized out as xml, its value is "accentBorderCallout2". |
| AccentBorderCallout3 | 116 | Callout 3 with Border and Accent Shape. When the item is serialized out as xml, its value is "accentBorderCallout3". |
| WedgeRectangleCallout | 117 | Callout Wedge Rectangle Shape. When the item is serialized out as xml, its value is "wedgeRectCallout". |
| WedgeRoundRectangleCallout | 118 | Callout Wedge Round Rectangle Shape. When the item is serialized out as xml, its value is "wedgeRoundRectCallout". |
| WedgeEllipseCallout | 119 | Callout Wedge Ellipse Shape. When the item is serialized out as xml, its value is "wedgeEllipseCallout". |
| CloudCallout | 120 | Callout Cloud Shape. When the item is serialized out as xml, its value is "cloudCallout". |
| Cloud | 121 | Cloud Shape. When the item is serialized out as xml, its value is "cloud". |
| Ribbon | 122 | Ribbon Shape. When the item is serialized out as xml, its value is "ribbon". |
| Ribbon2 | 123 | Ribbon 2 Shape. When the item is serialized out as xml, its value is "ribbon2". |
| EllipseRibbon | 124 | Ellipse Ribbon Shape. When the item is serialized out as xml, its value is "ellipseRibbon". |
| EllipseRibbon2 | 125 | Ellipse Ribbon 2 Shape. When the item is serialized out as xml, its value is "ellipseRibbon2". |
| LeftRightRibbon | 126 | Left Right Ribbon Shape. When the item is serialized out as xml, its value is "leftRightRibbon". |
| VerticalScroll | 127 | Vertical Scroll Shape. When the item is serialized out as xml, its value is "verticalScroll". |
| HorizontalScroll | 128 | Horizontal Scroll Shape. When the item is serialized out as xml, its value is "horizontalScroll". |
| Wave | 129 | Wave Shape. When the item is serialized out as xml, its value is "wave". |
| DoubleWave | 130 | Double Wave Shape. When the item is serialized out as xml, its value is "doubleWave". |
| Plus | 131 | Plus Shape. When the item is serialized out as xml, its value is "plus". |
| FlowChartProcess | 132 | Process Flow Shape. When the item is serialized out as xml, its value is "flowChartProcess". |
| FlowChartDecision | 133 | Decision Flow Shape. When the item is serialized out as xml, its value is "flowChartDecision". |
| FlowChartInputOutput | 134 | Input Output Flow Shape. When the item is serialized out as xml, its value is "flowChartInputOutput". |
| FlowChartPredefinedProcess | 135 | Predefined Process Flow Shape. When the item is serialized out as xml, its value is "flowChartPredefinedProcess". |
| FlowChartInternalStorage | 136 | Internal Storage Flow Shape. When the item is serialized out as xml, its value is "flowChartInternalStorage". |
| FlowChartDocument | 137 | Document Flow Shape. When the item is serialized out as xml, its value is "flowChartDocument". |
| FlowChartMultidocument | 138 | Multi-Document Flow Shape. When the item is serialized out as xml, its value is "flowChartMultidocument". |
| FlowChartTerminator | 139 | Terminator Flow Shape. When the item is serialized out as xml, its value is "flowChartTerminator". |
| FlowChartPreparation | 140 | Preparation Flow Shape. When the item is serialized out as xml, its value is "flowChartPreparation". |
| FlowChartManualInput | 141 | Manual Input Flow Shape. When the item is serialized out as xml, its value is "flowChartManualInput". |
| FlowChartManualOperation | 142 | Manual Operation Flow Shape. When the item is serialized out as xml, its value is "flowChartManualOperation". |
| FlowChartConnector | 143 | Connector Flow Shape. When the item is serialized out as xml, its value is "flowChartConnector". |
| FlowChartPunchedCard | 144 | Punched Card Flow Shape. When the item is serialized out as xml, its value is "flowChartPunchedCard". |
| FlowChartPunchedTape | 145 | Punched Tape Flow Shape. When the item is serialized out as xml, its value is "flowChartPunchedTape". |
| FlowChartSummingJunction | 146 | Summing Junction Flow Shape. When the item is serialized out as xml, its value is "flowChartSummingJunction". |
| FlowChartOr | 147 | Or Flow Shape. When the item is serialized out as xml, its value is "flowChartOr". |
| FlowChartCollate | 148 | Collate Flow Shape. When the item is serialized out as xml, its value is "flowChartCollate". |
| FlowChartSort | 149 | Sort Flow Shape. When the item is serialized out as xml, its value is "flowChartSort". |
| FlowChartExtract | 150 | Extract Flow Shape. When the item is serialized out as xml, its value is "flowChartExtract". |
| FlowChartMerge | 151 | Merge Flow Shape. When the item is serialized out as xml, its value is "flowChartMerge". |
| FlowChartOfflineStorage | 152 | Offline Storage Flow Shape. When the item is serialized out as xml, its value is "flowChartOfflineStorage". |
| FlowChartOnlineStorage | 153 | Online Storage Flow Shape. When the item is serialized out as xml, its value is "flowChartOnlineStorage". |
| FlowChartMagneticTape | 154 | Magnetic Tape Flow Shape. When the item is serialized out as xml, its value is "flowChartMagneticTape". |
| FlowChartMagneticDisk | 155 | Magnetic Disk Flow Shape. When the item is serialized out as xml, its value is "flowChartMagneticDisk". |
| FlowChartMagneticDrum | 156 | Magnetic Drum Flow Shape. When the item is serialized out as xml, its value is "flowChartMagneticDrum". |
| FlowChartDisplay | 157 | Display Flow Shape. When the item is serialized out as xml, its value is "flowChartDisplay". |
| FlowChartDelay | 158 | Delay Flow Shape. When the item is serialized out as xml, its value is "flowChartDelay". |
| FlowChartAlternateProcess | 159 | Alternate Process Flow Shape. When the item is serialized out as xml, its value is "flowChartAlternateProcess". |
| FlowChartOffpageConnector | 160 | Off-Page Connector Flow Shape. When the item is serialized out as xml, its value is "flowChartOffpageConnector". |
| ActionButtonBlank | 161 | Blank Button Shape. When the item is serialized out as xml, its value is "actionButtonBlank". |
| ActionButtonHome | 162 | Home Button Shape. When the item is serialized out as xml, its value is "actionButtonHome". |
| ActionButtonHelp | 163 | Help Button Shape. When the item is serialized out as xml, its value is "actionButtonHelp". |
| ActionButtonInformation | 164 | Information Button Shape. When the item is serialized out as xml, its value is "actionButtonInformation". |
| ActionButtonForwardNext | 165 | Forward or Next Button Shape. When the item is serialized out as xml, its value is "actionButtonForwardNext". |
| ActionButtonBackPrevious | 166 | Back or Previous Button Shape. When the item is serialized out as xml, its value is "actionButtonBackPrevious". |
| ActionButtonEnd | 167 | End Button Shape. When the item is serialized out as xml, its value is "actionButtonEnd". |
| ActionButtonBeginning | 168 | Beginning Button Shape. When the item is serialized out as xml, its value is "actionButtonBeginning". |
| ActionButtonReturn | 169 | Return Button Shape. When the item is serialized out as xml, its value is "actionButtonReturn". |
| ActionButtonDocument | 170 | Document Button Shape. When the item is serialized out as xml, its value is "actionButtonDocument". |
| ActionButtonSound | 171 | Sound Button Shape. When the item is serialized out as xml, its value is "actionButtonSound". |
| ActionButtonMovie | 172 | Movie Button Shape. When the item is serialized out as xml, its value is "actionButtonMovie". |
| Gear6 | 173 | Gear 6 Shape. When the item is serialized out as xml, its value is "gear6". |
| Gear9 | 174 | Gear 9 Shape. When the item is serialized out as xml, its value is "gear9". |
| Funnel | 175 | Funnel Shape. When the item is serialized out as xml, its value is "funnel". |
| MathPlus | 176 | Plus Math Shape. When the item is serialized out as xml, its value is "mathPlus". |
| MathMinus | 177 | Minus Math Shape. When the item is serialized out as xml, its value is "mathMinus". |
| MathMultiply | 178 | Multiply Math Shape. When the item is serialized out as xml, its value is "mathMultiply". |
| MathDivide | 179 | Divide Math Shape. When the item is serialized out as xml, its value is "mathDivide". |
| MathEqual | 180 | Equal Math Shape. When the item is serialized out as xml, its value is "mathEqual". |
| MathNotEqual | 181 | Not Equal Math Shape. When the item is serialized out as xml, its value is "mathNotEqual". |
| CornerTabs | 182 | Corner Tabs Shape. When the item is serialized out as xml, its value is "cornerTabs". |
| SquareTabs | 183 | Square Tabs Shape. When the item is serialized out as xml, its value is "squareTabs". |
| PlaqueTabs | 184 | Plaque Tabs Shape. When the item is serialized out as xml, its value is "plaqueTabs". |
| ChartX | 185 | Chart X Shape. When the item is serialized out as xml, its value is "chartX". |
| ChartStar | 186 | Chart Star Shape. When the item is serialized out as xml, its value is "chartStar". |
| ChartPlus | 187 | Chart Plus Shape. When the item is serialized out as xml, its value is "chartPlus". |
Examples
The following example selects the Line value from the Shape Type enumeration and uses it as a documented workflow choice.
TXTextControl.Drawing.ShapeType value = TXTextControl.Drawing.ShapeType.Line;
Console.WriteLine($"Using Shape Type: {value}");Dim value As TXTextControl.Drawing.ShapeType = TXTextControl.Drawing.ShapeType.Line
Console.WriteLine($"Using Shape Type: {value}")