C# Class rbscan.Models.ScannedImagesModel

Inheritance: IDisposable
Afficher le fichier Open project: rbobot/rbscan Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
ResizeBitmap ( int size ) : System.Windows.Media.Imaging.BitmapSource
RotateImage ( int rotate ) : ScannedImagesModel
SaveImageJPG ( string path, int quality ) : void
ScannedImagesModel ( string path ) : System

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
GetBitmapImage ( ) : System.Windows.Media.Imaging.BitmapSource
SaveImage ( System.Windows.Media.Imaging.BitmapSource image, string path ) : void
ScannedImagesModel ( string path, bool landscape ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ResizeBitmap() public méthode

public ResizeBitmap ( int size ) : System.Windows.Media.Imaging.BitmapSource
size int
Résultat System.Windows.Media.Imaging.BitmapSource

RotateImage() public méthode

public RotateImage ( int rotate ) : ScannedImagesModel
rotate int
Résultat ScannedImagesModel

SaveImageJPG() public méthode

public SaveImageJPG ( string path, int quality ) : void
path string
quality int
Résultat void

ScannedImagesModel() public méthode

public ScannedImagesModel ( string path ) : System
path string
Résultat System