[]
Initializes a new instance of an XLCommentShape.
public XLCommentShape(string text, int x, int y)
Public Sub New(text As String, x As Integer, y As Integer)
| 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. |
Initializes a new instance of an XLCommentShape.
public XLCommentShape(string text, double x, double y, double width, double height)
Public Sub New(text As String, x As Double, y As Double, width As Double, height As Double)
| 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. |
Initializes a new instance of an XLCommentShape.
public XLCommentShape(string text, Rect rc)
Public Sub New(text As String, rc As Rect)
| 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. |
Initializes a new instance of an XLCommentShape.
public XLCommentShape(string text)
Public Sub New(text As String)
| Type | Name | Description |
|---|---|---|
| string | text | The text contained in the new XLCommentShape. |