Advanced Combat Tracker Plugin API
LcdGetColorView Method (img, bitmapYOffset)
NamespacesAdvanced_Combat_TrackerFormActMainLcdGetColorView(Bitmap, Int32)
Converts a bitmap to a G19 usable byte array. Optional scrolling.
Declaration Syntax
C#Visual Basic
public byte[] LcdGetColorView(
	Bitmap img,
	int bitmapYOffset
Public Function LcdGetColorView ( 
	img As Bitmap,
	bitmapYOffset As Integer
) As Byte()
img (Bitmap)
Bitmap image, must be 320 pixels in width
bitmapYOffset (Int32)
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
Returns an array 307200 bytes long of ARGB values

Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: