[]
Represents a shape embedded in an XLSheet.
public abstract class XLShape : ICloneable
<p>Excel sheets may contain many types of embedded shapes, including
images, graphical elements, controls, and comments.
The XLShape abstract class contains information that is common to all shape types, including the shape's location (Sheet, Row, Column, Rectangle, Rotation), the type of border drawn around the shape (LineWidth, LineColor, LineStyle), the Rotation applied to the shape, and Hyperlink information.
The XLPictureShape class derives from XLShape and is used to embed images in sheets.
Name | Description |
---|---|
Column | Gets or sets the index of the column to which the shape is attached. |
DashedLineStyle | Gets or sets the dash style of the line or border around the shape. |
EndPoint | Gets the end point of this shape. |
Hyperlink | Gets or sets the hyperlink associated with the shape. |
Id | Gets the unique identifier of the shape. |
IsEmpty | Determines whether the shape is empty. |
LineColor | Gets or sets the color of the border around the shape. |
LineStyle | Gets or sets the style of the line or border around the shape. |
LineWidth | Gets or sets the width of the border around the shape, in twips. |
Rectangle | Gets or sets the rectangle that contains the shape, in twips. |
Rotation | Gets or sets the rotation of the shape, in degrees. |
Row | Gets or sets the index of the row to which the shape is attached. |
Sheet | Gets a reference to the parent XLSheet object. |
StartPoint | Gets the start point of this shape. |
Workbook | Gets a reference to the parent C1XLBook object. |
Name | Description |
---|---|
Clone() | Creates a new XLShape object that is a copy of the current instance. |
CreateProperties(IDictionary) | Populates an IDictionary with the shape properties. |
ParseProperties(IDictionary) | Parse shape properties. |