ClearImage COM API
CopyToClipboard Method
CiImage Object : CopyToClipboard Method
Description
Copy image to clipboard
Syntax
Visual Basic
Public Sub CopyToClipboard() 
Remarks
This method copies an image to clipboard in CF_BITMAP and CF_DIB formats.
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