r.Bounds = new RectangleF(100, 100, 100, 100);
r.Printable = true;
BackgroundLayer.AllowPrint = true;
I got it working by overriding PrintDocumentSize and PrintDocumentTopLeft.Is there a way to make 'ordinary' GoShapes behave the way GoNodes behave so they automatically get recognized for printing ?
If the objects you have in your GoView layer(s) are fixed, you probably didn’t need to override those two GoView properties – you could have just set the GoView.Document.Size and GoView.Document.TopLeft properties.
Well, the issue is that the rectangle does not affect the calculation for GoView.PrintDocumentSize and .PrintDocumentTopLeft.
Yes, if you add an object to a view layer, it is not part of the document, so it does not count in the document’s size.