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

    Parameters

    bmp
    The specified bitmap object contained in the new XLPictureShape.
    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