Code Snippet for CaptureScreenShot

A code snippet for CaptureScreenShot would be helpful. I can save the screenshot from TMSFNCMaps but the file will be updated an I can't stop this process.

Best regards

Can you please have a look at the following topic?