Свойство | Тип | Описание | |
---|---|---|---|
Screenshot |
Метод | Описание | |
---|---|---|
GetImageFromControl ( |
Convert any control to a PngBitmapEncoder
|
|
GetImageOfControl ( |
Get an ImageSource of a control
|
|
GetJpgImage ( |
||
InitChannel ( ) : bool | ||
LoadBitmap ( |
||
ProcessScreenshot ( |
Send a screenshot over the bus. Identical to TakeScreenshot, except that this method does not capture the screenshot itself.
|
|
SaveImageOfControl ( |
Save an image of a control
|
|
Start ( int interval ) : void | ||
Stop ( ) : void |
Метод | Описание | |
---|---|---|
AddImageComment ( Stream jpegStreamIn, string propValue, int propId ) : Stream | ||
CropImage ( |
||
GetImageByteArray ( System.Windows.Media.Imaging.BitmapSource bi ) : byte[] | ||
GetImageFromByteArray ( byte pixelInfo, int height, int width ) : System.Windows.Media.Imaging.BitmapSource | ||
GetSubRectangle ( |
||
TakeScreenshot ( ) : void |
Take a screenshot and send it over the bus.
|
|
TimerTick ( object sender, |
||
WpfToRealPixels ( |
Get screen from Window (uses WindowInteropHelper to get the handle from a Window).
|
|
resizeImage ( |
public static GetImageFromControl ( |
||
controlToConvert | The control to convert to an ImageSource | |
Результат | System.Windows.Media.Imaging.PngBitmapEncoder |
public static GetImageOfControl ( |
||
controlToConvert | The control to convert to an ImageSource | |
Результат | ImageSource |
public GetJpgImage ( |
||
source | ||
scale | double | |
quality | int | |
Результат | byte[] |
public static LoadBitmap ( |
||
source | ||
Результат | System.Windows.Media.Imaging.BitmapSource |
public ProcessScreenshot ( |
||
screenshot | Original image with 96x96 DPI | |
Результат | void |
public static SaveImageOfControl ( |
||
controlToConvert | The control to convert to an ImageSource | |
fileName | string | The location to save the image to |
Результат | ImageSource |