Show: Delphi C++
Display Preferences

Vcl.Clipbrd.TClipboard.AsText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AsText: string read GetAsText write SetAsText;

C++

__property System::UnicodeString AsText = {read=GetAsText, write=SetAsText};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Clipbrd.pas
Vcl.Clipbrd.hpp
Vcl.Clipbrd TClipboard

Description

Represents the contents of the clipboard as a string.

Use the AsText property to place text in and retrieve text from the clipboard. The clipboard must contain a string or an exception occurs. To determine if the clipboard contains a string, pass CF_TEXT to the HasFormat method.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance