C# 클래스 NAPS2.ImportExport.Images.SaveImagesOperation

상속: NAPS2.Operation.OperationBase
파일 보기 프로젝트 열기: cyanfish/naps2

공개 메소드들

메소드 설명
Cancel ( ) : void
SaveImagesOperation ( FileNamePlaceholders fileNamePlaceholders, NAPS2.ImportExport.Images.ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt, NAPS2.Util.ThreadFactory threadFactory ) : System
Start ( string fileName, System.DateTime dateTime, List images, bool batch = false ) : bool

Saves the provided collection of images to a file with the given name. The image type is inferred from the file extension. If multiple images are provided, they will be saved to files with numeric identifiers, e.g. img1.jpg, img2.jpg, etc..

WaitUntilFinished ( bool throwOnError = true ) : void

비공개 메소드들

메소드 설명
DoSaveImage ( Bitmap image, string path, ImageFormat format ) : void
GetImageFormat ( string fileName ) : ImageFormat

메소드 상세

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

SaveImagesOperation() 공개 메소드

public SaveImagesOperation ( FileNamePlaceholders fileNamePlaceholders, NAPS2.ImportExport.Images.ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt, NAPS2.Util.ThreadFactory threadFactory ) : System
fileNamePlaceholders FileNamePlaceholders
imageSettingsContainer NAPS2.ImportExport.Images.ImageSettingsContainer
overwritePrompt IOverwritePrompt
threadFactory NAPS2.Util.ThreadFactory
리턴 System

Start() 공개 메소드

Saves the provided collection of images to a file with the given name. The image type is inferred from the file extension. If multiple images are provided, they will be saved to files with numeric identifiers, e.g. img1.jpg, img2.jpg, etc..
public Start ( string fileName, System.DateTime dateTime, List images, bool batch = false ) : bool
fileName string The name of the file to save. For multiple images, this is modified by appending a number before the extension.
dateTime System.DateTime
images List The collection of images to save.
batch bool
리턴 bool

WaitUntilFinished() 공개 메소드

public WaitUntilFinished ( bool throwOnError = true ) : void
throwOnError bool
리턴 void