Page.Capture of graphing page as .jpeg


Rob
 Share

Recommended Posts

What do you mean by manually?  With the PrtSc key?

So I gave it a try and initially it failed because I am running a 4k screen.  It probably would have completed but I got tired of waiting.  So, I added screen coordinates to my capture so that I only got the part I wanted.  Then it went really fast and gave me what I wanted.  You should try that.  For example:

page.Capture("TURB_KW_GRAPH-0,0,500,500","C:\DAQFactory\UNIT_KW_REPORTING.jpeg")

You can get the exact coordinates of the graph component by selecting it, and viewing the position parameters in the docking Properties window (View-Properties).

Note also that in 17.1 and earlier you have to view the graph at least once on the screen before capturing it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share