Click or drag to resize

FormActMainLcdGetMonoView Method

Converts a bitmap to a G15 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[] LcdGetMonoView(
	Bitmap img,
	int bitmapYOffset
)

Parameters

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

Return Value

Type: Byte
Returns an array 6880 bytes long of 0's and 255's
See Also