C# 클래스 Fusion8.Cropper.Core.ImageCapture

Represents a class for managing the capturing and saving of screenshots.
상속: System.ComponentModel.Component, IPersistableOutput
파일 보기 프로젝트 열기: enriquein/Cropper 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AbortThumb bool
CaptureByHdc void
CreateThumbnailImage Image
EnsureOutputsLoaded void
IPersistableOutput void
InitializeComponent void
ProcessCapturedImage Fusion8.Cropper.Extensibility.ImageCapturedEventArgs

공개 메소드들

메소드 설명
Capture ( Point location, Size size ) : void

Captures a screenshot and raises events that notify the loaded plugin.

Capture ( Point location, Size size, double maxThumbnailSize ) : void

Captures a screenshot and raises events that notify the loaded plugin.

Capture ( Rectangle captureArea ) : void

Captures a screenshot and raises events that notify the loaded plugin.

Capture ( Rectangle captureArea, double maxThumbnailSize ) : void

Captures a screenshot and raises events that notify the loaded plugin.

Capture ( int x, int y, int width, int height ) : void

Captures a screenshot and raises events that notify the loaded plugin.

Capture ( int x, int y, int width, int height, double maxThumbnailSize ) : void

Captures a screenshot and raises events that notify the loaded plugin.

CaptureDesktop ( ) : void

Captures a screenshot and raises events that notify the loaded plugin.

CaptureForegroundForm ( ) : void

Captures a screenshot and raises events that notify the loaded plugin.

CaptureWindowAtPoint ( Point windowLocation ) : void

Captures a screenshot and raises events that notify the loaded plugin.

FetchOutputStream ( StreamHandler streamHandler, string fileName, Image image ) : void

Retrieves a stream for saving an image.

ImageCapture ( ) : System
ImageCapture ( IContainer container ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnImageCaptureInitialized ( ImageCaptureInitializedEventArgs e ) : void
OnImageCaptured ( Fusion8.Cropper.Extensibility.ImageCapturedEventArgs e ) : void
OnImageCapturing ( ImageCapturingEventArgs e ) : void

비공개 메소드들

메소드 설명
AbortThumb ( ) : bool
CaptureByHdc ( IntPtr hdc, bool cropAndColor ) : void
CreateThumbnailImage ( Image image, double maxSize ) : Image
EnsureOutputsLoaded ( ) : void
IPersistableOutput ( ImageHandler imageHandler ) : void

Retrieves another cropped image once a capture has been initialized.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ProcessCapturedImage ( Image image, double maxThumbnailSize ) : Fusion8.Cropper.Extensibility.ImageCapturedEventArgs

메소드 상세

Capture() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public Capture ( Point location, Size size ) : void
location Point
size System.Drawing.Size
리턴 void

Capture() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public Capture ( Point location, Size size, double maxThumbnailSize ) : void
location Point
size System.Drawing.Size
maxThumbnailSize double A double representing the maximum thumbnail size.
리턴 void

Capture() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public Capture ( Rectangle captureArea ) : void
captureArea System.Drawing.Rectangle
리턴 void

Capture() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public Capture ( Rectangle captureArea, double maxThumbnailSize ) : void
captureArea System.Drawing.Rectangle
maxThumbnailSize double A double representing the maximum thumbnail size.
리턴 void

Capture() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public Capture ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
리턴 void

Capture() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public Capture ( int x, int y, int width, int height, double maxThumbnailSize ) : void
x int
y int
width int
height int
maxThumbnailSize double A double representing the maximum thumbnail size.
리턴 void

CaptureDesktop() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public CaptureDesktop ( ) : void
리턴 void

CaptureForegroundForm() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public CaptureForegroundForm ( ) : void
리턴 void

CaptureWindowAtPoint() 공개 메소드

Captures a screenshot and raises events that notify the loaded plugin.
Thrown when the /// has not been properly set.
public CaptureWindowAtPoint ( Point windowLocation ) : void
windowLocation Point
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FetchOutputStream() 공개 메소드

Retrieves a stream for saving an image.
public FetchOutputStream ( StreamHandler streamHandler, string fileName, Image image ) : void
streamHandler StreamHandler A Delegate containg the method to call /// when the stream is retrieved and the image to pass to the callback.
fileName string The image's file name.
image Image The image to return to the callback method.
리턴 void

ImageCapture() 공개 메소드

public ImageCapture ( ) : System
리턴 System

ImageCapture() 공개 메소드

public ImageCapture ( IContainer container ) : System
container IContainer
리턴 System

OnImageCaptureInitialized() 보호된 메소드

protected OnImageCaptureInitialized ( ImageCaptureInitializedEventArgs e ) : void
e ImageCaptureInitializedEventArgs
리턴 void

OnImageCaptured() 보호된 메소드

protected OnImageCaptured ( Fusion8.Cropper.Extensibility.ImageCapturedEventArgs e ) : void
e Fusion8.Cropper.Extensibility.ImageCapturedEventArgs
리턴 void

OnImageCapturing() 보호된 메소드

protected OnImageCapturing ( ImageCapturingEventArgs e ) : void
e ImageCapturingEventArgs
리턴 void