Vcl.Clipbrd.TClipboard.AsText
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