[]
        
(Showing Draft Content)

C1.Excel.XLCommentShape.-ctor

XLCommentShape Constructor

XLCommentShape(string, int, int)

Initializes a new instance of an XLCommentShape.

Declaration
public XLCommentShape(string text, int x, int y)
Parameters
Type Name Description
string text

The text contained in the new XLCommentShape.

int x

The horizontal position of the new shape with respect to the cell, in twips.

int y

The vertical position of the new shape with respect to the cell, in twips.

XLCommentShape(string, int, int, int, int)

Initializes a new instance of an XLCommentShape.

Declaration
public XLCommentShape(string text, int x, int y, int width, int height)
Parameters
Type Name Description
string text

The text contained in the new XLCommentShape.

int x

The horizontal position of the image with respect to the cell, in twips.

int y

The vertical position of the image with respect to the cell, in twips.

int width

The width of the image, in twips.

int height

The height of the image, in twips.

XLCommentShape(string, Rectangle)

Initializes a new instance of an XLCommentShape.

Declaration
public XLCommentShape(string text, Rectangle rc)
Parameters
Type Name Description
string text

The text contained in the new XLCommentShape.

Rectangle rc

The rectangle that specifies the image size and position with respect to the cell, in twips.

XLCommentShape(string)

Initializes a new instance of an XLCommentShape.

Declaration
public XLCommentShape(string text)
Parameters
Type Name Description
string text

The text contained in the new XLCommentShape.