PictureShape Constructor(C1Bitmap,Size,ContentAlignment,ImageScaling)
In This Topic
Initializes a new instance of an
PictureShape.
Syntax
'Declaration
Public Function New( _
ByVal As C1.Win.Bitmap.C1Bitmap, _
ByVal As System.Drawing.Size, _
ByVal As System.Drawing.ContentAlignment, _
ByVal As ImageScaling _
)
public PictureShape(
C1.Win.Bitmap.C1Bitmap ,
System.Drawing.Size ,
System.Drawing.ContentAlignment ,
ImageScaling
)
Parameters
- bmp
- The specified bitmap object contained in the new PictureShape.
- cellSize
- The size of the cell that will contain the image, in pixels (used for aligning the image).
- align
- A System.Drawing.ContentAlignment 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