Adobe 38040334 API Reference - Page 297
dreamweaver.clipPaste, dreamweaver.getClipboardText, Returns, Enabler, Availability, Description
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 297 highlights
DREAMWEAVER CS3 292 API Reference Returns Nothing. Enabler See "dreamweaver.canClipCut()" on page 446. dreamweaver.clipPaste() Availability Dreamweaver 3. Added the strPasteOption argument in Dreamweaver 8. Description Pastes the contents of the Clipboard into the current document, dialog box, floating panel, or Site panel. Arguments {strPasteOption} • The strPasteOption argument, which is optional, specifies the type of paste to perform. Values include: "text", "structured", "basicFormat", and "fullFormat". Returns Nothing. Enabler See "dreamweaver.canClipPaste()" on page 446. Example The following example pasts the contents of the Clipboard as text: dw.clipPaste("text"); dreamweaver.getClipboardText() Availability Dreamweaver 3. Description Gets all the text that is stored on the Clipboard. Arguments {bAsText} • The bAsText Boolean value, which is optional, specifies whether the Clipboard content is retrieved as text. If bAsText is a value of true, the Clipboard content is retrieved as text. If bAsText is a value of false, the content retains formatting. This argument defaults to false. Returns A string that contains the contents of the Clipboard, if the Clipboard contains text (which can be HTML); otherwise, it returns nothing.
![](/manual_guide/products/adobe-38040334-api-reference-b593776/297.png)