Property | Type | Description | |
---|---|---|---|
Screenshot |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | System.Windows.Media.Imaging.PngBitmapEncoder |
public static GetImageOfControl ( |
||
controlToConvert | The control to convert to an ImageSource | |
return | ImageSource |
public GetJpgImage ( |
||
source | ||
scale | double | |
quality | int | |
return | byte[] |
public static LoadBitmap ( |
||
source | ||
return | System.Windows.Media.Imaging.BitmapSource |
public ProcessScreenshot ( |
||
screenshot | Original image with 96x96 DPI | |
return | void |
public static SaveImageOfControl ( |
||
controlToConvert | The control to convert to an ImageSource | |
fileName | string | The location to save the image to |
return | ImageSource |