Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLPictureShape Class / XLPictureShape Constructor / XLPictureShape Constructor(XLSheet,WriteableBitmap,Double,Double,Double,Double)
XLSheet object that owns the new shape.
The image contained in the new XLPictureShape.
The horizontal position of the image with respect to the sheet, in twips.
The vertical position of the image with respect to the sheet, in twips.
The width of the image, in twips.
The height of the image, in twips.

In This Topic
    XLPictureShape Constructor(XLSheet,WriteableBitmap,Double,Double,Double,Double)
    In This Topic
    Initializes a new instance of an XLPictureShape.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal sheet As XLSheet, _
       ByVal img As WriteableBitmap, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    )

    Parameters

    sheet
    XLSheet object that owns the new shape.
    img
    The image contained in the new XLPictureShape.
    x
    The horizontal position of the image with respect to the sheet, in twips.
    y
    The vertical position of the image with respect to the sheet, in twips.
    width
    The width of the image, in twips.
    height
    The height of the image, in twips.
    See Also