Table of Contents

Class CommentsRange

Namespace
Spire.Xls.Core.Spreadsheet.Shapes
Assembly
Spire.XLS.dll
public class CommentsRange : XlsObject, IDisposable, ICommentShape, IComment, ITextBoxShape, ITextBox, IShape, IExcelApplication
Inheritance
CommentsRange
Implements
Inherited Members

Properties

AlternativeText

public string AlternativeText { get; set; }

Property Value

string

Author

public string Author { get; set; }

Property Value

string

AutoSize

public bool AutoSize { get; set; }

Property Value

bool

Column

public int Column { get; }

Property Value

int

Fill

public IShapeFill Fill { get; }

Property Value

IShapeFill

Glow

public IGlow Glow { get; }

Property Value

IGlow

HAlignment

public CommentHAlignType HAlignment { get; set; }

Property Value

CommentHAlignType

Height

public int Height { get; set; }

Property Value

int

HtmlString

Gets and sets the html string which contains data and some formattings in this shape.

public string HtmlString { get; set; }

Property Value

string

ID

public int ID { get; }

Property Value

int

IsLockAspectRatio

public bool IsLockAspectRatio { get; set; }

Property Value

bool

IsLocked

public bool IsLocked { get; set; }

Property Value

bool

IsMoveWithCell

public bool IsMoveWithCell { get; set; }

Property Value

bool

IsPrintable

public bool IsPrintable { get; set; }

Property Value

bool

IsSmartArt

public bool IsSmartArt { get; }

Property Value

bool

IsTextLocked

public bool IsTextLocked { get; set; }

Property Value

bool

IsVisible

public bool IsVisible { get; set; }

Property Value

bool

Left

public int Left { get; set; }

Property Value

int

Line

Represents line format properties. Read only.

public IShapeLineFormat Line { get; }

Property Value

IShapeLineFormat

LinkedCell

Gets or sets the range linked to the shape's value.

public IXLSRange LinkedCell { get; set; }

Property Value

IXLSRange

Name

public string Name { get; set; }

Property Value

string

OnAction

public string OnAction { get; set; }

Property Value

string

Reflection

public IReflectionEffect Reflection { get; }

Property Value

IReflectionEffect

ResizeBehave

Specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted

public ResizeBehaveType ResizeBehave { get; set; }

Property Value

ResizeBehaveType

RichText

public IRichTextString RichText { get; }

Property Value

IRichTextString

Rotation

public int Rotation { get; set; }

Property Value

int

Row

public int Row { get; }

Property Value

int

Shadow

public IShadow Shadow { get; }

Property Value

IShadow

ShapeType

public ExcelShapeType ShapeType { get; set; }

Property Value

ExcelShapeType

Text

public string Text { get; set; }

Property Value

string

TextFrame

public ITextFrame TextFrame { get; }

Property Value

ITextFrame

TextRotation

public TextRotationType TextRotation { get; set; }

Property Value

TextRotationType

ThreeD

public IFormat3D ThreeD { get; }

Property Value

IFormat3D

Top

public int Top { get; set; }

Property Value

int

VAlignment

public CommentVAlignType VAlignment { get; set; }

Property Value

CommentVAlignType

Visible

public bool Visible { get; set; }

Property Value

bool

Width

public int Width { get; set; }

Property Value

int

Methods

Remove()

public void Remove()

Scale(int, int)

public void Scale(int scaleWidth, int scaleHeight)

Parameters

scaleWidth int
scaleHeight int