ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLPictureShape Class / XLPictureShape Constructor / XLPictureShape Constructor(Object,Int32,Int32,Int32,Int32)
The image source (binary data, Image, GcBitmap, base64).
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(Object,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes a new instance of an XLPictureShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal source As System.Object, _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal width As System.Integer, _
       ByVal height As System.Integer _
    )
    public XLPictureShape( 
       System.object source,
       System.int x,
       System.int y,
       System.int width,
       System.int height
    )

    Parameters

    source
    The image source (binary data, Image, GcBitmap, base64).
    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