'Declaration
Public Overloads Function CreateGdPictureImageFromHwnd( _ ByVal HANDLE As IntPtr _ ) As Integer
public int CreateGdPictureImageFromHwnd( IntPtr HANDLE )
public function CreateGdPictureImageFromHwnd( HANDLE: IntPtr ): Integer;
public function CreateGdPictureImageFromHwnd( HANDLE : IntPtr ) : int;
public: int CreateGdPictureImageFromHwnd( IntPtr HANDLE )
public: int CreateGdPictureImageFromHwnd( IntPtr HANDLE )
Parameters
- HANDLE
- A Window Handle, as IntPtr value. This must be a top-level window or a child of a top level window.
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.