Initializes a new instance of an
XLPictureShape.
Syntax
'Declaration
Public Function New( _
ByVal As System.Windows.Media.Imaging.WriteableBitmap, _
ByVal As System.Windows.Size, _
ByVal As System.Windows.HorizontalAlignment, _
ByVal As System.Windows.VerticalAlignment, _
ByVal As ImageScaling _
)
public XLPictureShape(
System.Windows.Media.Imaging.WriteableBitmap ,
System.Windows.Size ,
System.Windows.HorizontalAlignment ,
System.Windows.VerticalAlignment ,
ImageScaling
)
Parameters
- img
- The Image contained in the new XLPictureShape.
- cellSize
- The size of the cell that will contain the image, in pixels (used for aligning the image).
- align
- A System.Windows.HorizontalAlignment value that specifies the position of the image in the cell.
- valign
- A System.Windows.VerticalAlignment value that specifies the position of the image in the cell.
- scale
- An ImageScaling value that specifies the image scaling within the cell.
See Also