Hide

SftButton/OCX 3.0 - Button Control

Display
Print

DataObject.GetFormat Method

Determines if a specified clipboard format is supported by the DataObject object.

Syntax

VB.NETFormatSupported = object.GetFormat(ByVal Format As Short) As Boolean
VBFormatSupported = object.GetFormat(ByVal Format As Integer) As Boolean
C#.NETbool FormatSupported = object.GetFormat(short Format);
VC++VARIANT_BOOL FormatSupported = object->GetFormat(short Format);
CHRESULT object->raw_GetFormat(short Format, VARIANT_BOOL* FormatSupported);

object

A DataObject object.

Format

The data format requested.

NameValueDescription
sftCFText1Text
sftCFBitmap2Bitmap
sftCFMetafile3Metafile
sftCFDIB8Device independent bitmap
sftCFFiles15List of files
sftCFRTF-16639Rich text format

FormatSupported

The GetFormat method returns True if a data format in the DataObject object matches the specified format. Otherwise, it returns False.

Comments

The GetFormat method determines if a specified clipboard format is supported by the DataObject object.

See Also DataObject Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.