Skip to content

Class ExcelControlWithText

Namespace: OfficeOpenXml.Drawing.Controls
Assembly: EPPlus.dll

An abstract class used for formcontrols with text properties.

public abstract class ExcelControlWithText : ExcelControl, IDisposable

Inheritance

object ← XmlHelper ← ExcelDrawing ← ExcelControl ← ExcelControlWithText

Derived

ExcelControlButton
ExcelControlEditBox
ExcelControlGroupBox
ExcelControlLabel
ExcelControlWithColorsAndLines

Implements

IDisposable

Inherited Members

ExcelControl.AlternativeText
ExcelControl.AutoFill
ExcelControl.AutoPict
ExcelControl.ControlPropertiesXml
ExcelControl.ControlType
ExcelControl.DefaultSize
ExcelControl.Disabled
ExcelControl.DrawingType
ExcelControl.LinkedCell
ExcelControl.Locked
ExcelControl.Macro
ExcelControl.Name
ExcelControl.Print
ExcelControl.ThreeDEffects
ExcelDrawing.AdjustPositionAndSize()
ExcelDrawing.As
ExcelDrawing.BringToFront()
ExcelDrawing.CellAnchor
ExcelDrawing.ChangeCellAnchor(eEditAs, int, int, int, int)
ExcelDrawing.ChangeCellAnchor(eEditAs)
ExcelDrawing.Copy(ExcelChartStandard, int, int)
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

LockedText

Gets or sets whether a controls text is locked when the worksheet is protected.

public bool LockedText { get; set; }

Property Value

bool

RichText

Richtext collection. Used to format specific parts of the text

public ExcelParagraphCollection RichText { get; }

Property Value

ExcelParagraphCollection

Text

Text inside the shape

public string Text { get; set; }

Property Value

string

TextBody

Access to text body properties.

public ExcelTextBody TextBody { get; }

Property Value

ExcelTextBody