C# Class Cornerstone.MP.AsyncImageResource

Datei anzeigen Open project: damienhaynes/moving-pictures Class Usage Examples

Public Methods

Method Description
LoadImageFastFromFile ( string filename ) : Image

Private Methods

Method Description
GdipLoadImageFromFile ( string filename, IntPtr &image ) : int
activeWorker ( ) : void
getIdentifier ( string filename ) : string
loadResource ( string filename ) : bool

Loads the given file into memory and registers it with MediaPortal.

loadResourceSafe ( string filename ) : string
setFilenameWorker ( object newFilenameObj ) : void
unloadResource ( string filename ) : void

If previously loaded, unloads the resource from memory and removes it from the MediaPortal GUITextureManager.

writeProperty ( ) : void

Method Details

LoadImageFastFromFile() public static method

public static LoadImageFastFromFile ( string filename ) : Image
filename string
return Image