C# Class LitDev.LDClipboard

Datei anzeigen Open project: litdev1/LitDev

Public Methods

Method Description
Clear ( ) : Primitive

Clear the clipboard;

GetFileList ( ) : Primitive

Get an array of file names from the clipboard.

GetImage ( ) : Primitive

Load an image from the clipboard into ImageList.

GetText ( ) : Primitive

Get text from the clipboard.

SetFileList ( Primitive fileList ) : Primitive

Set a list of files to the clipboard.

SetImage ( Primitive imageName ) : Primitive

Set an ImageList image to the clipboard.

SetText ( Primitive text ) : Primitive

Set text to the clipboard.

Private Methods

Method Description
CB_Clear ( ) : void
CB_GetFileList ( ) : void
CB_GetImage ( ) : void
CB_GetText ( ) : void
CB_SetFileList ( ) : void
CB_SetImage ( ) : void
CB_SetText ( ) : void

Method Details

Clear() public static method

Clear the clipboard;
public static Clear ( ) : Primitive
return Primitive

GetFileList() public static method

Get an array of file names from the clipboard.
public static GetFileList ( ) : Primitive
return Primitive

GetImage() public static method

Load an image from the clipboard into ImageList.
public static GetImage ( ) : Primitive
return Primitive

GetText() public static method

Get text from the clipboard.
public static GetText ( ) : Primitive
return Primitive

SetFileList() public static method

Set a list of files to the clipboard.
public static SetFileList ( Primitive fileList ) : Primitive
fileList Primitive An array (or single file) of file names (full path).
return Primitive

SetImage() public static method

Set an ImageList image to the clipboard.
public static SetImage ( Primitive imageName ) : Primitive
imageName Primitive The ImageList image.
return Primitive

SetText() public static method

Set text to the clipboard.
public static SetText ( Primitive text ) : Primitive
text Primitive The text to add to the clipboard.
return Primitive