Prosurv cEZ™, Prosurv CE™ and Prosurv PC™ - Land Surveying Data Collection Prosurv Pocket Quads™ & Prosurv Imaging™ - 7.5' USGS Topo Quad Sheet Software |
|
Call 888-647-9500 Toll-free or e-mail us at sales@prosurv.com today! |
|
|
ASprite.NET Version 2.0.0.0 Overloaded
Public Sub DrawBackgroundImage(sFileName as String, lX as Integer, lY as Integer, bStretch as Boolean)
Comments: The internal zoom and scroll values are reset to 1 and 0 respectively using this overload.
Public Sub DrawBackgroundImage(bmp as Bitmap, lX as Integer, lY as Integer, bStretch as Boolean)
Comments: The internal zoom and scroll values are NOT reset using this overload.
Examples: GameWindow1.DrawBackgroundImage("\My
Documents\Image1.bmp", 0, 0, Or: ' Set up the background Dim bmBackDrop As Bitmap = New System.Drawing.Bitmap(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream("Bounce.backdrop.png"))GameWindow1.DrawBackgroundImage(bmBackDrop, 0, 0, False) |