'Declaration
Public Overloads Function CreateGdPictureImageFromStream( _ ByVal Stream As Stream, _ ByVal ImageFormat As DocumentFormat _ ) As Integer
public int CreateGdPictureImageFromStream( Stream Stream, DocumentFormat ImageFormat )
public function CreateGdPictureImageFromStream( Stream: Stream; ImageFormat: DocumentFormat ): Integer;
public function CreateGdPictureImageFromStream( Stream : Stream, ImageFormat : DocumentFormat ) : int;
public: int CreateGdPictureImageFromStream( Stream* Stream, DocumentFormat ImageFormat )
public: int CreateGdPictureImageFromStream( Stream^ Stream, DocumentFormat ImageFormat )
Parameters
- Stream
- System.IO.Stream object storing the image data.
- ImageFormat
- A member of the DocumentFormat enumeration specifying the input image format.
Return Value
0: The image could not be created. Use the GetStat() method to determine the reason this method
failed.
Non-zero: GdPicture image identifier. The created image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.