void ClipboardOps(string imageFile)
{
CiServer ci = Inlite.ClearImageNet.Server.GetThreadServer();
CiImage image = ci.CreateImage();
image.Open(imageFile, 1);
// Save image to clipboard
image.CopyToClipboard();
// Close image
image.Close();
// Restore image from clipboard
image.OpenFromClipboard();
}
Sub ClipboardOps(imageFile As String)
Dim ci As CiServer = Inlite.ClearImageNet.Server.GetThreadServer()
Dim image As CiImage = ci.CreateImage()
image.Open(imageFile, 1)
' Save image to clipboard
image.CopyToClipboard()
' Close image
image.Close()
' Restore image from clipboard
image.OpenFromClipboard()
End Sub