IMcDisplayEditCopy Method
|
|
Copy the display and/or image to the clipboard in one or more formats.
Namespace:
MediaCy.IQL.Display.Viewer
Assembly:
MediaCy.IQL.Display.Viewer (in MediaCy.IQL.Display.Viewer.dll) Version: 10.0.6912.0
SyntaxSub EditCopy (
CF_Types As mcWhatCF_Types
)
Parameters
- CF_Types
- Type: MediaCy.IQL.Display.ViewermcWhatCF_Types
The format(s) to place on the clipboard.
Currently RegisterClipboardFormat("McDisplay Image Aoi"),
RegisterClipboardFormat("McDisplay Image Display Area"), CF_ENHMETAFILE and
CF_DIB, are supported; they are enumerated in that order for
IDataObject.EnumFormatEtc. These formats correspond to CF_Types
mcwcftMcImageAoi, mcwcftMcImageDisplayArea, mcwcftCF_ENHMETAFILE,
mcwcftCF_DIB and mcwcftCF_METAFILEPICT, respectively. The mcWhatCF_Types
may be OR'ed together to multiple types on the clipboard, but this is
generally quite costly, since the rendered data can be very large. Normally
only one of the image formats and one display format would be placed on the
clipboard (e.g., CF_Types of mcwcftMcImageAoi + mcwcftCF_ENHMETAFILE).
Additionally, mcwcftCF_EMBEDDEDOBJECT may be specified to place an embedded
OLE object holding the bounds of the AOI on the clipboard.
RemarksIf a requested format cannot be honored because the amount of data that would
need to be placed on the clipboard is too large for that format, then that format request
is silently ignored and no such data is placed on the clipboard. Use the
IsActionAvailable property with the WhatAction argument mcwaCanEditCopyBitmap,
mcwaCanEditCopyAoi, mcwaCanEditCopyDisplayArea, mcwaWarnEditCopyAoi or
mcwaWarnEditCopyDisplayArea to determine if a desirec format can be successfully placed on
the clipboard.
See Also