[]
        
(Showing Draft Content)

C1.WPF.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, double, double, double, double)

Initializes a new instance of an XLCommentShape.

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

The text contained in the new XLCommentShape.

double x

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

double y

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

double width

The width of the image, in twips.

double height

The height of the image, in twips.

XLCommentShape(string, Rect)

Initializes a new instance of an XLCommentShape.

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

The text contained in the new XLCommentShape.

Rect 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.