Image Viewer CP ActiveX Control

LoadFromStream

 

Load the image from IStream. 

Public Function LoadFromStream( _
   ByVal pStream As IStream
) As Bool

 

Parameter

pStream
   the stream of image.


Return Value

Return true - successful
Return false- Failed


Example

   

Visual Basic Syntax
ImageViewer1.LoadFromStream pStream