Advanced Combat Tracker Plugin API
LcdGetMonoView Method (img, bitmapYOffset)
NamespacesAdvanced_Combat_TrackerFormActMainLcdGetMonoView(Bitmap, Int32)
Converts a bitmap to a G15 usable byte array. Optional scrolling.
Declaration Syntax
C#Visual Basic
public byte[] LcdGetMonoView(
	Bitmap img,
	int bitmapYOffset
)
Public Function LcdGetMonoView ( 
	img As Bitmap,
	bitmapYOffset As Integer
) As Byte()
Parameters
img (Bitmap)
Bitmap image, must be 160 pixels in width
bitmapYOffset (Int32)
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
array<Byte>[]()[][]
Returns an array 6880 bytes long of 0's and 255's

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