Tag: Screen

  • Dynamics ax take screenshots from FormControls

    Hi all, Here is a little code snippet for you to take screen shots within a Dynamics Ax client. public void run(FormControl _control) { str SaveToFileName; System.Drawing.Bitmap bitmap; System.Drawing.Graphics graphics; System.Windows.Forms.Screen primaryScreen; System.Drawing.Rectangle bounds;   int x, y, k, l; System.Int32 width; System.Int32 height;   #define.FileName(’DynamicsAx_Screenshot.png’) ;   try { // 5 for the My […]