ChangeImage(Stream,AspectRatio) Method
Replaces the current image with a different image.
'Declaration
Overloads Sub ChangeImage( _
ByVal As Stream, _
Optional ByVal As AspectRatio _
)
'Usage
Dim instance As IPicture
Dim stream As Stream
Dim aspect As AspectRatio
instance.ChangeImage(stream, aspect)
Parameters
- stream
- The image data.
- aspect
- Specifies how to resize the new image. If omitted, the original height is kept.