Greetings,
I have been struggling a bit with the method
GoView.GetBitmapFromCollection
More specifically on how to properly export an image given the document objects bounds.
The method itself is working fine and the expected image is created … but … with a margin that I can’t figure out how to remove.
It seems like somewhere in the code there is something that adds spacing.

That basiclly visualizes the result I want to get, and what I do get right now. The first picture to the left is having a slight margin and the one to the right is what I want to get with no margin outside / around the object(s).