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

NameTypeAccessDescription
NamestringRead/Write
UpperLeftRowintRead/Write
UpperLeftColumnintRead/Write
UpperLeftColumnOffsetlongRead/Write
UpperLeftRowOffsetlongRead/WriteGets or sets the offset in EMUs from the upper‑left row
LowerRightRowintRead/Write
LowerRightColumnintRead/Write
LowerRightColumnOffsetlongRead/Write
LowerRightRowOffsetlongRead/WriteGets or sets the offset in EMUs from the lower‑right row
ExtentCxlongRead/WriteGets or sets the shape’s width in EMUs
ExtentCylongRead/WriteGets or sets the shape’s height in EMUs
GeometryTypestringRead/WriteGets or sets the type of geometry defining the shape
RawStyleXmlstringRead/WriteGets or sets the raw XML string representing the shape’s style
RawTxBodyXmlstringRead/WriteGets or sets the raw XML string of the shape’s text body
RawElementXmlstringRead/WriteGets or sets the raw XML string of the entire shape element

Methods

SignatureDescription
ShapeModel()Creates a new instance of the ShapeModel class