C# Class ImageGlass.ImageListView.ImageListViewItemAdaptors.URIAdaptor

Represents a URI adaptor.
Inheritance: ImageListView.ImageListViewItemAdaptor
Show file Open project: d2phap/ImageGlass

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetDetails ( object key, bool useWIC ) : Utility.Tuple[]

Returns the details for the given item.

GetSourceImage ( object key ) : string

Returns the path to the source image for use in drag operations.

GetThumbnail ( object key, Size size, UseEmbeddedThumbnails useEmbeddedThumbnails, bool useExifOrientation, bool useWIC ) : Image

Returns the thumbnail image for the given item.

URIAdaptor ( ) : System.Collections.Generic

Initializes a new instance of the URIAdaptor class.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

GetDetails() public method

Returns the details for the given item.
public GetDetails ( object key, bool useWIC ) : Utility.Tuple[]
key object Item key.
useWIC bool true to use Windows Imaging Component; otherwise false.
return Utility.Tuple[]

GetSourceImage() public method

Returns the path to the source image for use in drag operations.
public GetSourceImage ( object key ) : string
key object Item key.
return string

GetThumbnail() public method

Returns the thumbnail image for the given item.
public GetThumbnail ( object key, Size size, UseEmbeddedThumbnails useEmbeddedThumbnails, bool useExifOrientation, bool useWIC ) : Image
key object Item key.
size System.Drawing.Size Requested image size.
useEmbeddedThumbnails UseEmbeddedThumbnails Embedded thumbnail usage.
useExifOrientation bool true to automatically rotate images based on Exif orientation; otherwise false.
useWIC bool true to use Windows Imaging Component; otherwise false.
return System.Drawing.Image

URIAdaptor() public method

Initializes a new instance of the URIAdaptor class.
public URIAdaptor ( ) : System.Collections.Generic
return System.Collections.Generic