ShapeModel
Overview
ShapeModel is a class in Aspose.Cells FOSS for .NET.
Represents the internal model for a drawing object (shape) anchored to a worksheet. Row and column values are zero-based. EMU offset values are in English Metric Units.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read/Write | |
UpperLeftRow | int | Read/Write | |
UpperLeftColumn | int | Read/Write | |
UpperLeftColumnOffset | long | Read/Write | |
UpperLeftRowOffset | long | Read/Write | Gets or sets the offset in EMUs from the upper‑left row |
LowerRightRow | int | Read/Write | |
LowerRightColumn | int | Read/Write | |
LowerRightColumnOffset | long | Read/Write | |
LowerRightRowOffset | long | Read/Write | Gets or sets the offset in EMUs from the lower‑right row |
ExtentCx | long | Read/Write | Gets or sets the shape’s width in EMUs |
ExtentCy | long | Read/Write | Gets or sets the shape’s height in EMUs |
GeometryType | string | Read/Write | Gets or sets the type of geometry defining the shape |
RawStyleXml | string | Read/Write | Gets or sets the raw XML string representing the shape’s style |
RawTxBodyXml | string | Read/Write | Gets or sets the raw XML string of the shape’s text body |
RawElementXml | string | Read/Write | Gets or sets the raw XML string of the entire shape element |
Methods
| Signature | Description |
|---|---|
ShapeModel() | Creates a new instance of the ShapeModel class |