C# 클래스 AdvancedLauncher.Tools.Interop.RedirectedWindow

상속: WindowBase
파일 보기 프로젝트 열기: GoldRenard/DMOAdvancedLauncher 1 사용 예제들

공개 메소드들

메소드 설명
AlignClientAndScreen ( int xClient, int yClient, int xScreen, int yScreen ) : void

Aligns the RedirectedWindow such that the specified client coordinate is aligned with the specified screen coordinate.

SetClientAreaSize ( int width, int height ) : bool

Sizes the window such that the client area has the specified size.

UpdateRedirectedBitmap ( ) : System.Windows.Media.Imaging.BitmapSource

Returns a bitmap of the contents of the window.

RedirectedWindow maintains a bitmap internally and only allocates a new bitmap if the dimensions of the window have changed. Even if UpdateRedirectedBitmap returns the same bitmap, the contents are guaranteed to have been updated with the current contents of the window.

비공개 메소드들

메소드 설명
CreateBitmap ( int width, int height ) : void
DestroyBitmap ( ) : void

메소드 상세

AlignClientAndScreen() 공개 메소드

Aligns the RedirectedWindow such that the specified client coordinate is aligned with the specified screen coordinate.
public AlignClientAndScreen ( int xClient, int yClient, int xScreen, int yScreen ) : void
xClient int
yClient int
xScreen int
yScreen int
리턴 void

SetClientAreaSize() 공개 메소드

Sizes the window such that the client area has the specified size.
public SetClientAreaSize ( int width, int height ) : bool
width int
height int
리턴 bool

UpdateRedirectedBitmap() 공개 메소드

Returns a bitmap of the contents of the window.
RedirectedWindow maintains a bitmap internally and only allocates a new bitmap if the dimensions of the window have changed. Even if UpdateRedirectedBitmap returns the same bitmap, the contents are guaranteed to have been updated with the current contents of the window.
public UpdateRedirectedBitmap ( ) : System.Windows.Media.Imaging.BitmapSource
리턴 System.Windows.Media.Imaging.BitmapSource