SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Determines if a specified clipboard format is supported by the DataObject object.
| VB.NET | FormatSupported = object.GetFormat(ByVal Format As Integer) As Boolean | 
| VB | FormatSupported = object.GetFormat(ByVal Format As Integer) As Boolean | 
| C#.NET | bool FormatSupported = object.GetFormat(short Format); | 
| VC++ | VARIANT_BOOL* FormatSupported = object->GetFormat(short Format); | 
| C | HRESULT object->raw_GetFormat(short Format, VARIANT_BOOL* FormatSupported); | 
object
Format
The data format requested (see SftOLEClipboardConstants).
| Format | Value | Description | 
|---|---|---|
| sftCFText | 1 | Text | 
| sftCFBitmap | 2 | Bitmap | 
| sftCFMetafile | 3 | Metafile | 
| sftCFDIB | 8 | Device independent bitmap | 
| sftCFFiles | 15 | List of files | 
| sftCFRTF | -16639 | Rich text format | 
FormatSupported
Returns True if the specified clipboard format Format is supported by the DataObject object, otherwise False is returned.
The GetFormat method determines if a specified clipboard format is supported by the DataObject object.
The GetFormat method returns True if a data format in the DataObject object matches the specified format. Otherwise, it returns False.
See Also DataObject Object | Object Hierarchy
