ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLCommentShape Class / XLCommentShape Constructor / XLCommentShape Constructor(String,Rectangle)
The text contained in the new XLCommentShape.
The rectangle that specifies the image size and position with respect to the cell, in twips.

In This Topic
    XLCommentShape Constructor(String,Rectangle)
    In This Topic
    Initializes a new instance of an XLCommentShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal text As System.String, _
       ByVal rc As System.Drawing.Rectangle _
    )
    public XLCommentShape( 
       System.string text,
       System.Drawing.Rectangle rc
    )

    Parameters

    text
    The text contained in the new XLCommentShape.
    rc
    The rectangle that specifies the image size and position with respect to the cell, in twips.
    See Also