Class ExcelShapeBase¶
Namespace: OfficeOpenXml.Drawing
Assembly: EPPlus.dll
Base class for drawing-shape objects
Inheritance¶
object ← XmlHelper ← ExcelDrawing ← ExcelShapeBase
Derived¶
ExcelConnectionShape
ExcelShape
Implements¶
Inherited Members¶
ExcelDrawing.AdjustPositionAndSize()
ExcelDrawing.As
ExcelDrawing.BringToFront()
ExcelDrawing.CellAnchor
ExcelDrawing.ChangeCellAnchor(eEditAs, int, int, int, int)
ExcelDrawing.ChangeCellAnchor(eEditAs)
ExcelDrawing.Copy(ExcelWorksheet, int, int, int, int)
ExcelDrawing.Description
ExcelDrawing.Dispose()
ExcelDrawing.DrawingType
ExcelDrawing.EditAs
ExcelDrawing.EMU_PER_CM
ExcelDrawing.EMU_PER_MM
ExcelDrawing.EMU_PER_PICA
ExcelDrawing.EMU_PER_PIXEL
ExcelDrawing.EMU_PER_POINT
ExcelDrawing.EMU_PER_US_INCH
ExcelDrawing.From
ExcelDrawing.Group(params ExcelDrawing[])
ExcelDrawing.Hyperlink
ExcelDrawing.Locked
ExcelDrawing.Name
ExcelDrawing.ParentGroup
ExcelDrawing.Position
ExcelDrawing.Print
ExcelDrawing.SendToBack()
ExcelDrawing.SetPosition(int, int, int, int)
ExcelDrawing.SetPosition(int, int)
ExcelDrawing.SetSize(int, int)
ExcelDrawing.SetSize(int)
ExcelDrawing.Size
ExcelDrawing.To
ExcelDrawing.UnGroup(bool)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Border¶
Access to Border propesties
Property Value¶
DrawingType¶
The type of drawing
Property Value¶
Effect¶
Drawing effect properties
Property Value¶
Fill¶
Access Fill properties
Property Value¶
Font¶
Font properties
Property Value¶
HeadEnd¶
Head line end
Property Value¶
HorizontalFlip¶
If true, flips the shape horizontal about the center of its bounding box.
Property Value¶
Indent¶
Indentation
Property Value¶
LockText¶
Lock drawing
Property Value¶
RichText¶
Richtext collection. Used to format specific parts of the text
Property Value¶
Rotation¶
Rotation angle in degrees. Positive angles are clockwise. Negative angles are counter-clockwise.
Property Value¶
Style¶
Shape style
Property Value¶
TailEnd¶
Tail line end
Property Value¶
Text¶
Text inside the shape
Property Value¶
TextAlignment¶
How the text is aligned
Property Value¶
TextAnchoring¶
Text Anchoring
Property Value¶
TextAnchoringControl¶
The centering of the text box.
Property Value¶
TextBody¶
Access to text body properties.
Property Value¶
TextVertical¶
Vertical text
Property Value¶
ThreeD¶
Defines 3D properties to apply to an object
Property Value¶
VerticalFlip¶
If true, flips the shape vertical about the center of its bounding box.
Property Value¶
Methods¶
GetAdjustmentPointsNames()¶
Get a list of available adjustment point names.
Returns¶
RemoveAdjustmentPoints()¶
Remove all the shapes adjustments.
SetAdjustmentPoint(string, int)¶
Adjust the named point with value.
Parameters¶
name string
The name of the adjustment point. Use GetShapeGuideNames for a list of possible shape guides to adjust.
value int
The value to set for the shape guide. Value is different from shape to shape. Some shapes clamp the value and some are free.