'Declaration
Public Function LoadFromStream( _ ByVal Stream As Stream, _ Optional ByVal DocumentFormat As DocumentFormat _ ) As GdPictureStatus
public GdPictureStatus LoadFromStream( Stream Stream, DocumentFormat DocumentFormat )
public function LoadFromStream( Stream: Stream; DocumentFormat: DocumentFormat ): GdPictureStatus;
public function LoadFromStream( Stream : Stream, DocumentFormat : DocumentFormat ) : GdPictureStatus;
public: GdPictureStatus LoadFromStream( Stream* Stream, DocumentFormat DocumentFormat )
public: GdPictureStatus LoadFromStream( Stream^ Stream, DocumentFormat DocumentFormat )
Parameters
- Stream
- A stream object. This stream object must be initialized before it can be sent into this method and it should stay open for subsequent use.
- DocumentFormat
- A member of the DocumentFormat enumeration. Specifies a file format of the input document. Supported input document formats are listed here.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.