CreateGdPictureImageFromMemory Method (GdPictureImaging)
In This Topic
Creates a new GdPicture image from an image file stored within an area of the memory.
Syntax
'Declaration
Public Function CreateGdPictureImageFromMemory( _
ByVal As IntPtr, _
ByVal As Integer _
) As Integer
public int CreateGdPictureImageFromMemory(
IntPtr ,
int
)
public function CreateGdPictureImageFromMemory(
: IntPtr;
: Integer
): Integer;
public function CreateGdPictureImageFromMemory(
: IntPtr,
: int
) : int;
public: int CreateGdPictureImageFromMemory(
IntPtr ,
int
)
public:
int CreateGdPictureImageFromMemory(
IntPtr ,
int
)
Parameters
- hMem
- A pointer to the area of the memory which stores the document.
- Length
- The length in byte of the area.
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.
See Also