Excel for WinRT
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.
Initializes a new instance of an XLPictureShape.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheet As XLSheet, _
   ByVal img As Windows.UI.Xaml.Media.Imaging.WriteableBitmap, _
   ByVal x As System.Double, _
   ByVal y As System.Double, _
   ByVal width As System.Double, _
   ByVal height As System.Double _
)
'Usage
 
Dim sheet As XLSheet
Dim img As Windows.UI.Xaml.Media.Imaging.WriteableBitmap
Dim x As System.Double
Dim y As System.Double
Dim width As System.Double
Dim height As System.Double
 
Dim instance As New XLPictureShape(sheet, img, x, y, width, height)
public XLPictureShape( 
   XLSheet sheet,
   Windows.UI.Xaml.Media.Imaging.WriteableBitmap img,
   System.double x,
   System.double y,
   System.double width,
   System.double height
)

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

Reference

XLPictureShape Class
XLPictureShape Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback