C# 클래스 ScreenToGif.Windows.Encoder

Interaction logic for Encoder.xaml
상속: System.Windows.Window
파일 보기 프로젝트 열기: dbremner/ScreenToGif 1 사용 예제들

공개 메소드들

메소드 설명
AddItem ( List listFrames, string fileName, double scale ) : void

Add one list of frames to the encoding batch.

Encoder ( ) : System

Default constructor.

Minimize ( ) : void

Minimizes the Encoder window.

Restore ( ) : void

Minimizes the Encoder window.

SetStatus ( Status status, int id, string fileName = null ) : void

Sets the Status of the encoding of a current item.

Start ( double scale ) : void

Shows the Encoder window.

TryClose ( ) : void

Tries to close the Window if there's no enconding active.

Update ( int id, int currentFrame ) : void

Updates a specific item of the list.

Update ( int id, int currentFrame, string status ) : void

Updates a specific item of the list.

비공개 메소드들

메소드 설명
ClearAllButton_Click ( object sender, RoutedEventArgs e ) : void
Encode ( List listFrames, int id, string fileName, System.Export type, CancellationTokenSource tokenSource ) : void
EncoderItem_CloseButtonClickedEvent ( object sender ) : void
EncoderItem_LabelLinkClickedEvent ( object name ) : void
GetScreen ( Window window ) : System.Windows.Forms.Screen
InternalAddItem ( List listFrames, string fileName, System.Export type ) : void
InternalSetStatus ( Status status, int id, string fileName ) : void
InternalUpdate ( int id, int currentFrame ) : void
InternalUpdate ( int id, int currentFrame, string status ) : void
Window_Activated ( object sender, EventArgs e ) : void
Window_Closing ( object sender, System e ) : void

메소드 상세

AddItem() 공개 정적인 메소드

Add one list of frames to the encoding batch.
public static AddItem ( List listFrames, string fileName, double scale ) : void
listFrames List The list of frames to be encoded.
fileName string Final filename.
scale double Screen scale.
리턴 void

Encoder() 공개 메소드

Default constructor.
public Encoder ( ) : System
리턴 System

Minimize() 공개 정적인 메소드

Minimizes the Encoder window.
public static Minimize ( ) : void
리턴 void

Restore() 공개 정적인 메소드

Minimizes the Encoder window.
public static Restore ( ) : void
리턴 void

SetStatus() 공개 정적인 메소드

Sets the Status of the encoding of a current item.
public static SetStatus ( Status status, int id, string fileName = null ) : void
status Status The current status.
id int The unique ID of the item.
fileName string The name of the output file.
리턴 void

Start() 공개 정적인 메소드

Shows the Encoder window.
public static Start ( double scale ) : void
scale double Screen scale.
리턴 void

TryClose() 공개 정적인 메소드

Tries to close the Window if there's no enconding active.
public static TryClose ( ) : void
리턴 void

Update() 공개 정적인 메소드

Updates a specific item of the list.
public static Update ( int id, int currentFrame ) : void
id int The unique ID of the item.
currentFrame int The current frame being processed.
리턴 void

Update() 공개 정적인 메소드

Updates a specific item of the list.
public static Update ( int id, int currentFrame, string status ) : void
id int The unique ID of the item.
currentFrame int The current frame being processed.
status string Status description.
리턴 void