ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLPictureShape Class / XLPictureShape Constructor / XLPictureShape Constructor(XLSheet,Image,RectangleF)
XLSheet object that owns the new shape.
The image contained in the new XLPictureShape.
The rectangle that specifies the image size and position with respect to the cell, in twips.

In This Topic
    XLPictureShape Constructor(XLSheet,Image,RectangleF)
    In This Topic
    Initializes a new instance of an XLPictureShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal sheet As XLSheet, _
       ByVal img As GrapeCity.Documents.Drawing.Image, _
       ByVal rc As System.Drawing.RectangleF _
    )
    public XLPictureShape( 
       XLSheet sheet,
       GrapeCity.Documents.Drawing.Image img,
       System.Drawing.RectangleF rc
    )

    Parameters

    sheet
    XLSheet object that owns the new shape.
    img
    The image contained in the new XLPictureShape.
    rc
    The rectangle that specifies the image size and position with respect to the cell, in twips.
    See Also