The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 printing of dialog builder windows

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
tinkusch Posted - 09/29/2005 : 12:27:07 PM
Origin Version (Select Help-->About Origin): 7.5 SR3
Operating System:XP

Hi,
I would like to print a window, created with the dialog builder, which contains some graphs as a result of a calculation, each has several layers.
Is it possible a) to print/preview the whole dialog builder window?
and b) to print/preview parts of it, e.g. a graph or a layer?


Thanks for any hint!

bye

Stefan


3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 09/30/2005 : 12:57:34 PM
Hi Stefan,

Labtalk can't do much with the layout window. However, if you can add the graph to a layout you might also be able to export it to an image file using export.image() or image.export(). I've never tried so not sure which (if either) will work best, but should look something like this...

win -oa graphName {
export.image(C:\Temp\img.jpg,JPG);
};

If that works you can import the image to the layout like this...

win -a layoutName;
image.filename$=C:\Temp\img.jpg;
image.import.object();

See this topic for hints about sizing and positioning objects in the layout window...
http://www.originlab.com/forum/topic.asp?TOPIC_ID=1640

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 09/30/2005 1:22:01 PM
tinkusch Posted - 09/30/2005 : 04:58:31 AM
Hi Mike, thanks!
I have meanwhile found out that it is also possible to copy & paste a DB-window to a ORIGIN layout-window with ALT + PrintScreen. There is also a second alternative: If the DB-window contains a graph one may add the graph to a layout-window via the menue entry Layout->Add Graph. This has the advantage that only the graph and not the entire DB-window is copied. The question is, whether this can also be executed via a macro or a LabTalk script?

thanks & bye

Stefan

Mike Buess Posted - 09/29/2005 : 5:36:26 PM
Hi Stefan,

I don't think you can print a DB dialog window directly from Origin but screen shots work fairly well. Alt+Print Screen will capture only the dialog window so you don't need to crop the image after pasting to a graphics program.

Mike Buess
Origin WebRing Member

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000