C# Class NAPS2.Scan.Images.ThumbnailRenderer

Afficher le fichier Open project: cyanfish/naps2 Class Usage Examples

Méthodes publiques

Méthode Description
RenderThumbnail ( Bitmap b ) : Bitmap
RenderThumbnail ( Bitmap b, int size ) : Bitmap

Gets a bitmap resized to fit within a thumbnail rectangle, including a border around the picture.

RenderThumbnail ( ScannedImage scannedImage ) : Bitmap
RenderThumbnail ( ScannedImage scannedImage, int size ) : Bitmap
ThumbnailRenderer ( IUserConfigManager userConfigManager ) : System

Method Details

RenderThumbnail() public méthode

public RenderThumbnail ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
Résultat System.Drawing.Bitmap

RenderThumbnail() public méthode

Gets a bitmap resized to fit within a thumbnail rectangle, including a border around the picture.
public RenderThumbnail ( Bitmap b, int size ) : Bitmap
b System.Drawing.Bitmap The bitmap to resize.
size int The maximum width and height of the thumbnail.
Résultat System.Drawing.Bitmap

RenderThumbnail() public méthode

public RenderThumbnail ( ScannedImage scannedImage ) : Bitmap
scannedImage ScannedImage
Résultat System.Drawing.Bitmap

RenderThumbnail() public méthode

public RenderThumbnail ( ScannedImage scannedImage, int size ) : Bitmap
scannedImage ScannedImage
size int
Résultat System.Drawing.Bitmap

ThumbnailRenderer() public méthode

public ThumbnailRenderer ( IUserConfigManager userConfigManager ) : System
userConfigManager IUserConfigManager
Résultat System