Hi Niels,
I did it in the past. I don't know the code by heart but it involves including the xpTools lib.
Defining an xpImage object and xpOutputframebuffer.
Then export the Framebuffer to the Imageobject and then save the Image object as BMP or PNG, JPG. Although in c# you can only save as BMP it seems.
I can look up the code but only tomorrow.
Best regards,
Kenneth
#XPression