3253_en-US
PictureBoxHi,
I want to create a display box that contains a graphics picture object. I know that JMP9 offers Picture Box report.
My jsl script as below. but, it doesn't work.
How to create picture box?
<--
new window("aaa",
Picture Box(
"C:\Picture1.jpg"
)
);
-->Re: PictureBoxThe Picture Box() function takes a picture object as an argument, rather than a filename string. To get a picture object, use the Open() function with a second argument that specifies the type of picture that you want to open. Here's an example (modified from the Picture Box() function example in the JSL Functions Index under the Help menu):
New Window( "Example", Picture Box( Open(
"$SAMPLE_IMAGES/black rhino footprint.jpg",
jpg
) ) );Re: PictureBoxPresumably a picture box could display an image from the internet also? If so, what's the syntax of that, please? I've been trying to do it myself, but all my attempts to date have generated fatal error messages.
Many thanks
Comments
There are no comments yet