Show / Hide Table of Contents

Interface IExtractor

Interface for thumbnail, metadata and shell info extractors.

Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
public interface IExtractor

Properties

| Improve this Doc View Source

Name

Gets the name of this extractor.

Declaration
string Name { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetMetadata(String)

Returns image metadata.

Declaration
Metadata GetMetadata(string path)
Parameters
Type Name Description
System.String path

Filepath of image

Returns
Type Description
Metadata
| Improve this Doc View Source

GetShellInfo(String)

Returns shell info.

Declaration
ShellInfo GetShellInfo(string path)
Parameters
Type Name Description
System.String path

Filepath of image

Returns
Type Description
ShellInfo
| Improve this Doc View Source

GetThumbnail(Image, Size, UseEmbeddedThumbnails, Boolean)

Creates a thumbnail from the given image.

Declaration
Image GetThumbnail(Image image, Size size, UseEmbeddedThumbnails useEmbeddedThumbnails, bool useExifOrientation)
Parameters
Type Name Description
System.Drawing.Image image

The source image.

System.Drawing.Size size

Requested image size.

UseEmbeddedThumbnails useEmbeddedThumbnails

Embedded thumbnail usage.

System.Boolean useExifOrientation

true to automatically rotate images based on Exif orientation; otherwise false.

Returns
Type Description
System.Drawing.Image

The thumbnail image from the given image or null if an error occurs.

| Improve this Doc View Source

GetThumbnail(String, Size, UseEmbeddedThumbnails, Boolean)

Creates a thumbnail from the given image file.

Declaration
Image GetThumbnail(string filename, Size size, UseEmbeddedThumbnails useEmbeddedThumbnails, bool useExifOrientation)
Parameters
Type Name Description
System.String filename

The filename pointing to an image.

System.Drawing.Size size

Requested image size.

UseEmbeddedThumbnails useEmbeddedThumbnails

Embedded thumbnail usage.

System.Boolean useExifOrientation

true to automatically rotate images based on Exif orientation; otherwise false.

Returns
Type Description
System.Drawing.Image

The thumbnail image from the given file or null if an error occurs.

Back to top Copyright © 2018 Özgür Özçıtak