'Declaration
Public Function LoadFromStream( _ ByVal Stream As Stream, _ Optional ByVal OwnStream As Boolean _ ) As GdPictureStatus
public GdPictureStatus LoadFromStream( Stream Stream, bool OwnStream )
public function LoadFromStream( Stream: Stream; OwnStream: Boolean ): GdPictureStatus;
public function LoadFromStream( Stream : Stream, OwnStream : boolean ) : GdPictureStatus;
public: GdPictureStatus LoadFromStream( Stream* Stream, bool OwnStream )
public: GdPictureStatus LoadFromStream( Stream^ Stream, bool OwnStream )
Parameters
- Stream
- A Stream object. This stream object must be initialized before it can be sent into this method and it should remain open for subsequent use.
- OwnStream
- Specifies whether the instance is in charge of disposing the input stream when it is not needed anymore. Default value is false.
Return Value
We strongly recommend always checking this status first.