Méthode | Description | |
---|---|---|
Bitmap2BitmapImage ( System bitmap ) : |
||
BitmapImage2Bitmap ( |
||
DoOnUIThread ( |
||
GetBitmapImageFromBase64String ( string base64Bitmap ) : |
||
GetJPEGBase64StringFromBitmapImage ( |
||
GetLastInput ( ) : System.TimeSpan |
Retrieve the time of the last user interaction
|
|
LoadBitmap ( |
||
LoadBitmap ( string imageURI ) : System.Drawing.Bitmap | ||
LoadImageBytes ( |
||
ResetIdleTimer ( ) : void |
Reset the last input timer. We move the mouse one pixel to reset the system timer.
|
|
ScreenCoordinatesToWPF ( Visual visual, Point screenPoint ) : Point |
Converts supplied screen coordinates into the correct WPF device-independant coordinates using an existing control or window
|
Méthode | Description | |
---|---|---|
DeleteObject ( |
||
GetEncoder ( System format ) : System.Drawing.Imaging.ImageCodecInfo | ||
GetLastInputInfo ( LASTINPUTINFO &plii ) : bool | ||
SendInput ( uint nInputs, INPUT &pInputs, int cbSize ) : uint |
public static Bitmap2BitmapImage ( System bitmap ) : |
||
bitmap | System | |
Résultat |
public static BitmapImage2Bitmap ( |
||
bitmapImage | ||
Résultat | System.Drawing.Bitmap |
public static DoOnUIThread ( |
||
element | ||
action | System.Action | |
Résultat | void |
public static GetBitmapImageFromBase64String ( string base64Bitmap ) : |
||
base64Bitmap | string | |
Résultat |
public static GetJPEGBase64StringFromBitmapImage ( |
||
bmpImage | ||
jpegEncoderQuality | long | |
rotateFlip | System | |
Résultat | string |
public static GetLastInput ( ) : System.TimeSpan | ||
Résultat | System.TimeSpan |
public static LoadBitmap ( |
||
imageURI | ||
Résultat | System.Drawing.Bitmap |
public static LoadBitmap ( string imageURI ) : System.Drawing.Bitmap | ||
imageURI | string | |
Résultat | System.Drawing.Bitmap |
public static LoadImageBytes ( |
||
imageURI | ||
Résultat | byte[] |
public static ScreenCoordinatesToWPF ( Visual visual, Point screenPoint ) : Point | ||
visual | Visual | The control or window the screen point is in |
screenPoint | Point | the point in screen coordinates to be transformed |
Résultat | Point |