sx_GetBitMap

<< Click to Display Table of Contents >>

Navigation:  Apollo API Listing >

sx_GetBitMap

VB Declaration

Declare Function sx_GetBitMap Lib "Apollo9.dll"

(ByVal cpFieldName As String,

 ByVal hwnd As Integer)

 As Integer

C Declaration

Description

Sends a bitmap that was stored in a memo file to a defined window using a Windows Clipboard function. The bitmap is displayed in the clipboard. Passing a window handle gives ownership of the clipboard data to the defined window. The bitmap is extracted using the Visual Basic Clipboard.GetData method and should be cleared after importing with Clipboard.Clear.

Parameters

cpFieldName: The name of the memo field that holds the BLOB.

hwnd: The hWnd property of the form picture box that will receive the picture.

Return Value

Returns TRUE if a picture was retrieved. If there was no bitmap attached, FALSE is returned.

VB Example

C Example

See Also

sx_BlobToFile, sx_GetBitMap, sx_GetBlobLength, sx_PutBlob, sx_Replace