'Declaration
Public Sub AdjustPicture( _ ByVal croppingPicture As Picture, _ ByVal shapeRect As Rectangle, _ ByVal sourceImageRect As Rectangle _ )
'Usage
Dim instance As WorksheetDrawing Dim croppingPicture As Picture Dim shapeRect As Rectangle Dim sourceImageRect As Rectangle instance.AdjustPicture(croppingPicture, shapeRect, sourceImageRect)
public void AdjustPicture( Picture croppingPicture, Rectangle shapeRect, Rectangle sourceImageRect )
Parameters
- croppingPicture
- The Picture that will be adjusted.
- shapeRect
- The boundary of the picture.
- sourceImageRect
- The boundary of the image brush.