Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLPictureShape Class / XLPictureShape Constructor / XLPictureShape Constructor(C1Bitmap,Rect)
The specified bitmap object 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(C1Bitmap,Rect)
    In This Topic
    Initializes a new instance of an XLPictureShape.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal bmp As C1.WPF.Bitmap.C1Bitmap, _
       ByVal rc As Rect _
    )
    public XLPictureShape( 
       C1.WPF.Bitmap.C1Bitmap bmp,
       Rect rc
    )

    Parameters

    bmp
    The specified bitmap object contained in the new XLPictureShape.
    rc
    The rectangle that specifies the image size and position with respect to the cell, in twips.
    See Also