GetData Method
Description
Returns data from a DataObject object in the form of a variant.
Syntax
Public Function GetData( _
ByVal [Format](#) As Long _
) As Variant
Parameters
Format
A constant or value that specifies the data format, as described in Settings. Parentheses must enclose the constant or value. If format is 0 or omitted, GetData automatically uses the appropriate format.
| Constant | Value | Description |
|---|---|---|
| vbCFText | 1 | Text (.txt files) |
| vbCFBitmap | 2 | Bitmap (.bmp files) |
| vbCFMetafile | 3 | Metafile (.wmf files) |
| vbCFEMetafile | 14 | Enhanced metafile (.emf files) |
| vbCFDIB | 8 | Device-independent bitmap (DIB) |
| vbCFPalette | 9 | Color palette |
| vbCFFiles | 15 | List of files |
| vbCFRTF | -16639 | Rich text format (.rtf files) |
See Also

Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.