.NET Framework - does GetFormats return CF_DIBV5 if it is present on the clipboard

Asked By AAaron123 on 06-May-08 09:28 PM
If there is a format on the clipboard
that is not represent in DataFormats,
say, CF_DIBV5 does GetFormats return it?

and can GetDataPresent and GetData handle it?


Michael Phillips, Jr. replied on 07-May-08 09:03 AM
CF_DIBV5 == "Format17"

Use "Format17" with GetDataPresent and GetData.
GetData will return a MemoryStream object that represents the packed DIB.