Skip to content

Class ExcelVmlDrawingComment

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

Drawing object used for comments

public class ExcelVmlDrawingComment : ExcelVmlDrawingBase

Inheritance

object ← XmlHelper ← ExcelVmlDrawingBase ← ExcelVmlDrawingComment

Derived

ExcelComment

Inherited Members

ExcelVmlDrawingBase.AlternativeText
ExcelVmlDrawingBase.GetStyle(string, string, out string)
ExcelVmlDrawingBase.Id
ExcelVmlDrawingBase.SetStyle(string, string, string)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Address

Address in the worksheet

public string Address { get; }

Property Value

string

AutoFit

Autofits the drawingobject

public bool AutoFit { get; set; }

Property Value

bool

BackgroundColor

Background color

public Color BackgroundColor { get; set; }

Property Value

Color

Fill

Fill properties for the comment

public ExcelVmlDrawingFill Fill { get; }

Property Value

ExcelVmlDrawingFill

From

From position. For comments only when Visible=true.

public ExcelVmlDrawingPosition From { get; }

Property Value

ExcelVmlDrawingPosition

HorizontalAlignment

Horizontal alignment for text

public eTextAlignHorizontalVml HorizontalAlignment { get; set; }

Property Value

eTextAlignHorizontalVml

LineColor

Line color

public Color LineColor { get; set; }

Property Value

Color

LineStyle

Linestyle for border

public eLineStyleVml LineStyle { get; set; }

Property Value

eLineStyleVml

LineWidth

Width of the border

public float LineWidth { get; set; }

Property Value

float

LockText

Specifies that the object's text is locked

public bool LockText { get; set; }

Property Value

bool

Locked

If the object is locked when the sheet is protected

public bool Locked { get; set; }

Property Value

bool

To

To position. For comments only when Visible=true.

public ExcelVmlDrawingPosition To { get; }

Property Value

ExcelVmlDrawingPosition

VerticalAlignment

Vertical alignment for text

public eTextAlignVerticalVml VerticalAlignment { get; set; }

Property Value

eTextAlignVerticalVml

Visible

If the drawing object is visible.

public bool Visible { get; set; }

Property Value

bool