C# Class rbscan.Models.ScannedImagesModel

Inheritance: IDisposable
ファイルを表示 Open project: rbobot/rbscan Class Usage Examples

Public Methods

Method 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

Method 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 method

public Dispose ( ) : void
return void

ResizeBitmap() public method

public ResizeBitmap ( int size ) : System.Windows.Media.Imaging.BitmapSource
size int
return System.Windows.Media.Imaging.BitmapSource

RotateImage() public method

public RotateImage ( int rotate ) : ScannedImagesModel
rotate int
return ScannedImagesModel

SaveImageJPG() public method

public SaveImageJPG ( string path, int quality ) : void
path string
quality int
return void

ScannedImagesModel() public method

public ScannedImagesModel ( string path ) : System
path string
return System