ClearImage COM API
OpenFromClipboard Method
CiImage Object : OpenFromClipboard Method
Description
Create image from Clipboard
Syntax
Visual Basic
Public Sub OpenFromClipboard() 
Remarks

Clipboard must contain either a CF_BITMAP or a CF_DIB formatted image.
This method generates an error if object.Image.IsZone is true.

Example
Sub ClipboardOps(imageFile As String)
    ' Open image file
  Dim Ci As New CiServer
  Dim Image As CiImage: Set Image = Ci.CreateImage
  Image.Open imageFile
    ' Save image to clipboard
  Image.CopyToClipboard
    ' Close image
  Image.Close
    ' Restore image from clipboard
  Image.OpenFromClipboard
End Sub
See Also

CiImage Object  | CiImage Members  | CopyToClipboard  | OpenFromClipboard