Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLCommentShape Class / XLCommentShape Constructor / XLCommentShape Constructor(String,Double,Double,Double,Double)
The text contained in the new XLCommentShape.
The horizontal position of the image with respect to the cell, in twips.
The vertical position of the image with respect to the cell, in twips.
The width of the image, in twips.
The height of the image, in twips.

In This Topic
    XLCommentShape Constructor(String,Double,Double,Double,Double)
    In This Topic
    Initializes a new instance of an XLCommentShape.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal text As String, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    )
    public XLCommentShape( 
       string text,
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    text
    The text contained in the new XLCommentShape.
    x
    The horizontal position of the image with respect to the cell, in twips.
    y
    The vertical position of the image with respect to the cell, in twips.
    width
    The width of the image, in twips.
    height
    The height of the image, in twips.
    See Also