ChangeImage(String,AspectRatio) Method
In This Topic
Replaces the current image with a different image.
Syntax
'Declaration
Overloads Sub ChangeImage( _
ByVal As String, _
Optional ByVal As AspectRatio _
)
'Usage
Dim instance As IPicture
Dim fileName As String
Dim aspect As AspectRatio
instance.ChangeImage(fileName, aspect)
void ChangeImage(
string ,
AspectRatio
)
Parameters
- fileName
- The path to the new image.
- aspect
- Specifies how to resize the new image. If omitted, the original height is kept.
See Also