Snapshot Event and Snaphot folder

Hi, I have read many post to how make snapshot via code…

but I need to know when an user click on the xprotect button to make snapshot…

and grab this image…

besides, I need the “snapshot folder” linked with user in xprotect…

someone know how can i make it???

thanks in advance

First I would like to direct your attention to the Smart Client built-in functionality for this. You might not want to develop anything if the requirements are met with built-in functionality.

This is how the user can take a snapshot:

If you still want to develop the functionality I would like to mention two ways.

  1. If you have a ImageViewerControl or ImageViewerAddOn use GetCurrentDisplayedImageAsBitmap - https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_client_1_1_image_viewer_add_on.html&tree=tree_search.html?search=addon
  2. If you do not have an image viewer use JPEGVideoSource - Get - https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_j_p_e_g_video_source.html&tree=tree_search.html?search=jpegvideosource

ok I’ll try to explain better… (my english is so poor!!!)

I don’t want to create “snapshot funcionality”…

I want to grab snaphot create trought “Smart Client built-in functionality”

User create a snapshot from built-in button… and i need to grab this image and work with it…

https://developer.milestonesys.com/s/question/0D50O00004pPRxNSAW/how-to-get-application-settings-from-the-smart-client-to-a-plugin

You will have to make it a requirement that the users all use the same folder, that they do not change the folder..