C# Class UlteriusServer.Api.Services.ScreenShare.ScreenData

Mostrar archivo Open project: Ulterius/server

Public Properties

Property Type Description
NewBitmap System.Drawing.Bitmap
PrevBitmap System.Drawing.Bitmap

Public Methods

Method Description
CaptureDesktop ( ) : Bitmap
GetImageFromByteArray ( byte byteArray ) : Bitmap
LocalAgentScreen ( Bitmap image ) : ScreenModel
LocalScreen ( ) : ScreenModel
PackScreenCaptureData ( Bitmap image, Rectangle bounds ) : byte[]

Private Methods

Method Description
GetBoundingBoxForChanges ( Bitmap &prevBitmap, Bitmap &newBitmap ) : Rectangle

Method Details

CaptureDesktop() public static method

public static CaptureDesktop ( ) : Bitmap
return System.Drawing.Bitmap

GetImageFromByteArray() public static method

public static GetImageFromByteArray ( byte byteArray ) : Bitmap
byteArray byte
return System.Drawing.Bitmap

LocalAgentScreen() public static method

public static LocalAgentScreen ( Bitmap image ) : ScreenModel
image System.Drawing.Bitmap
return ScreenModel

LocalScreen() public static method

public static LocalScreen ( ) : ScreenModel
return ScreenModel

PackScreenCaptureData() public static method

public static PackScreenCaptureData ( Bitmap image, Rectangle bounds ) : byte[]
image System.Drawing.Bitmap
bounds System.Drawing.Rectangle
return byte[]

Property Details

NewBitmap public_oe static_oe property

public static Bitmap,System.Drawing NewBitmap
return System.Drawing.Bitmap

PrevBitmap public_oe static_oe property

public static Bitmap,System.Drawing PrevBitmap
return System.Drawing.Bitmap