Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / AdjustPicture Method
The Picture that will be adjusted.
The boundary of the picture.
The boundary of the image brush.


In This Topic
    AdjustPicture Method
    In This Topic
    Adjust dimension and location of the specified picture.
    Syntax
    '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)

    Parameters

    croppingPicture
    The Picture that will be adjusted.
    shapeRect
    The boundary of the picture.
    sourceImageRect
    The boundary of the image brush.
    See Also