Condividi tramite


Visual Basic Concepts

Transferring Text and Graphics with the Clipboard Object

The Clipboard object has no properties or events, but it has several methods that allow you to transfer data to and from the environment’s Clipboard. The Clipboard methods fall into three categories. The GetText and SetText methods are used to transfer text. The GetData and SetData methods transfer graphics. The GetFormat and Clear methods work with both text and graphic formats.

To learn more about the Clipboard, see the following topics:

For More Information   For information about transferring data within your application or between applications, see "OLE Drag and Drop" in "Responding to Mouse and Keyboard Events."