RobotStudio event

TemporaryGraphics won't show in Screenshot

Hi everyone.
I'm trying to generate a screenshot of a GrphicControl. The GraphicControl contains several TemporaryGraphics (Lines to visualize surfaces in orthographic view). But these TemporaryGraphics won't show in the resulting screenshot. I'm calling it like that:
System.Drawing.Bitmap b = gc.ScreenShot(0);
Tagged:

Comments

  • Solved it myself. Needed to update the TemporaryGraphics right before the screenshot.