Click or drag to resize

FormActMainLcdGetColorView Method

Converts a bitmap to a G19 usable byte array. Optional scrolling.

Namespace:  Advanced_Combat_Tracker
Assembly:  Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.5.0.273
Syntax
C#
public byte[] LcdGetColorView(
	Bitmap img,
	int bitmapYOffset
)

Parameters

img
Type: System.DrawingBitmap
Bitmap image, must be 320 pixels in width
bitmapYOffset
Type: SystemInt32
How far down the view should be scrolled from the top of the bitmap. The offset must allow 240 rows to remain. IE a 320x240 bitmap's offset must be zero.

Return Value

Type: Byte
Returns an array 307200 bytes long of ARGB values
See Also