Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IPicture Interface / ChangeImage Method / ChangeImage(Stream,AspectRatio) Method
The image data.
Specifies how to resize the new image. If omitted, the original height is kept.


In This Topic
    ChangeImage(Stream,AspectRatio) Method
    In This Topic
    Replaces the current image with a different image.
    Syntax
    'Declaration
     
    
    Overloads Sub ChangeImage( _
       ByVal stream As Stream, _
       Optional ByVal aspect As AspectRatio _
    ) 
    'Usage
     
    
    Dim instance As IPicture
    Dim stream As Stream
    Dim aspect As AspectRatio
     
    instance.ChangeImage(stream, aspect)
    void ChangeImage( 
       Stream stream,
       AspectRatio aspect
    )

    Parameters

    stream
    The image data.
    aspect
    Specifies how to resize the new image. If omitted, the original height is kept.
    See Also