CHtmlClipboard.CopyFromClipboard  
 
Class: CHtmlClipboard
(Method)


 
Declaration
 
C#
public
static string CopyFromClipboard()
 
 
Visual Basic
Public Shared Function CopyFromClipboard() As String
 
 
Description
A static method that copies HTML data (text and format tags) from the clipboard and returns it as a string.
 
Return value
The method returns HTML data from the clipboard if such exists.
 
Example
 
// Get HTML from the clipboard and store it in a string
string sHtml = CHtmlClipboard.CopyFromClipboard();


There is a longer example available on this page.

 
 
< Go Back
 
 
SamLogic