Hello. I’m trying to get a GoView to allow me to scroll based on a background image. I’d seen a previous post for Version 2.2 that said to set
A simple test with Basic App works… how are you setting up your GoView?
Basic App doesn’t use Sheets. For something using Sheets, this might be what you’re looking for:
bg.Name = @"C:\GoDiagramMySamples\usa.bmp";
goDrawView1.Sheet.BackgroundImage = bg;
goDrawView1.Sheet.BackgroundImageSpot = GoObject.TopLeft;
goDrawView1.Sheet.BackgroundImage.Size = goDrawView1.Sheet.Size - goDrawView1.Sheet.TopLeftMargin- goDrawView1.Sheet.BottomRightMargin;
Hmm, I moved the location of where I initialized teh background and doc size and things are working now. Thanks for double-checking and providing more info. when working with sheets.