'Declaration Public Function ClipHbitmap( _ ByVal workspace As FormDirector, _ ByVal fullImageHbitmap As IntPtr _ ) As IntPtr
'Usage Dim instance As Field Dim workspace As FormDirector Dim fullImageHbitmap As IntPtr Dim value As IntPtr value = instance.ClipHbitmap(workspace, fullImageHbitmap)
public IntPtr ClipHbitmap( FormDirector workspace, IntPtr fullImageHbitmap )
public: IntPtr ClipHbitmap( FormDirector* workspace, IntPtr fullImageHbitmap )
public: IntPtr ClipHbitmap( FormDirector^ workspace, IntPtr fullImageHbitmap )
Parameters
- workspace
- An object used to set environment settings, such as debugging and licensing. See the FormDirector class for more details.
- fullImageHbitmap
- An image of the full form. This method will copy pixels from this image to the returned image.
Return Value
A handle to a new WIN32 HBITMAP whose width and height match the size of this field and which contains the pixels from fullImageHbitmap that lie within the field. When you are finished using this image, you must delete it using the WIN32 function, DeleteObject(), or an equivalent.