This topic has not yet been rated - Rate this topic

DataFormats.Dib Field

Specifies the Windows Device Independent Bitmap (DIB) format. This static (Shared in Visual Basic) field is read-only.

[Visual Basic]
Public Shared ReadOnly Dib As String
[C#]
public static readonly string Dib;
[C++]
public: static String* Dib;
[JScript]
public static var Dib : String;

Remarks

DIB is a file format designed to ensure that bitmapped graphics created using one application can be loaded and displayed in another application exactly the way they appeared in the originating application.

This field is used by the IDataObject interface and the DataObject class to specify the data type.

When adding to an IDataObject or to an implementation of DataObject, use this field as the format for the IDataObject.SetData and DataObject.SetData methods.

To see if an object of this type exists, use this field as the format for the IDataObject.GetDataPresent and DataObject.GetDataPresent methods.

To get an object of this type, use this as the format for the IDataObject.GetData and DataObject.GetData methods.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataFormats Class | DataFormats Members | System.Windows.Forms Namespace | GetData | SetData | GetDataPresent | GetFormats | DataObject | IDataObject | GetFormat | Format.name | Format.id

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.