---
Product: Aspose.Cells
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/net/AutoShapeType
---

# AutoShapeType

## Overview

`AutoShapeType` is a enum in Aspose.Cells FOSS for .NET.

Specifies the type of an auto shape (preset geometry).

This enumeration defines 39 values: `Unknown`, `Rectangle`, `RoundedRectangle`, `Ellipse`, `Triangle`, `RightTriangle`, `Diamond`, `Pentagon`, `Hexagon`, `Octagon`, `Plus`, `Cube`, and 27 more.

## Description

`AutoShapeType` is an enumeration type in the Aspose.Cells FOSS library for .NET. It defines a set of named constants that control behavior or specify options within the API. Enumerations like `AutoShapeType` help ensure type safety by restricting values to a predefined set.

## Values

| Value | Description |
|-------|-------------|
| `Unknown` | Represents an undefined or unrecognized shape type |
| `Rectangle` | Represents a rectangular shape |
| `RoundedRectangle` | Represents a rectangle with rounded corners |
| `Ellipse` | Represents an oval shape |
| `Triangle` | Represents an equilateral triangle shape |
| `RightTriangle` | Represents a right-angled triangle shape |
| `Diamond` | Represents a diamond (rhombus) shape |
| `Pentagon` | Represents a five-sided polygon shape |
| `Hexagon` | Represents a six-sided polygon shape |
| `Octagon` | Represents an eight-sided polygon shape |
| `Plus` | Represents a plus sign shape |
| `Cube` | Represents a three-dimensional cube shape |
| `Cylinder` | Represents a cylindrical shape |
| `Heart` | Represents a heart-shaped figure |
| `Lightning` | Represents a lightning bolt shape |
| `Sun` |  |
| `Moon` | Represents a crescent moon shape |
| `Cloud` |  |
| `RightArrow` | Represents a right-pointing arrow shape |
| `LeftArrow` | Represents a left-pointing arrow shape |
| `UpArrow` | Represents an upward-pointing arrow shape |
| `DownArrow` | Represents a downward-pointing arrow shape |
| `LeftRightArrow` | Represents a bidirectional left-right arrow shape |
| `UpDownArrow` | Represents a bidirectional up-down arrow shape |
| `Star4Point` | Represents a four-pointed star shape |
| `Star5Point` | Represents a five-pointed star shape |
| `Star6Point` | Represents a six-pointed star shape |
| `Star7Point` | Represents a seven-pointed star shape |
| `Star8Point` | Represents an eight-pointed star shape |
| `Star10Point` | Represents a ten-pointed star shape |
| `Star12Point` |  |
| `Star16Point` |  |
| `Star24Point` |  |
| `Star32Point` |  |
| `TextBox` |  |
| `MathPlus` |  |
| `StraightConnector` |  |
| `BentConnector` |  |
| `CurvedConnector` |  |

## See Also

- [Aspose.Cells for .NET — Enterprise API Reference](https://reference.aspose.com/cells/net/)
- [Aspose.Cells for .NET — Enterprise API Reference](https://reference.aspose.com/cells/net/aspose.cells.drawing/autoshapetype/)