ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word.Canvas Namespace / PictureShape Class / PictureShape Constructor / PictureShape Constructor(IShapeContainer,WriteableBitmap,Int32,Int32,Int32,Int32)
IShapeContainer object that owns the shape container.
The image contained in the new PictureShape.
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
    PictureShape Constructor(IShapeContainer,WriteableBitmap,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes a new instance of an PictureShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal container As IShapeContainer, _
       ByVal img As WriteableBitmap, _
       ByVal x As Integer, _
       ByVal y As Integer, _
       ByVal width As Integer, _
       ByVal height As Integer _
    )
    public PictureShape( 
       IShapeContainer container,
       WriteableBitmap img,
       int x,
       int y,
       int width,
       int height
    )

    Parameters

    container
    IShapeContainer object that owns the shape container.
    img
    The image contained in the new PictureShape.
    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