Can I set Image on page startup

Discussions about document viewing.
Post Reply
Bnorfolk
Posts: 6
Joined: Fri Oct 10, 2008 4:10 pm

Can I set Image on page startup

Post by Bnorfolk » Tue Nov 25, 2008 8:09 pm

Support, I am trying to load the activeX viewer with a default image. (fisrt image in list) The list is comming from some XML data.
I am trying to set the myviewer.createImagefromfile = to the <xsl:value-of selection="Path"/> this is my full path and file name.
then call the myviewer.setnativeImage( )
Can you provide some help?

Thanks Bill

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Can I set Image on page startup

Post by Loïc » Wed Nov 26, 2008 5:33 pm

Hi Bill,

I suggest you to call the DisplayFromFile() method of the viewer into the load event of your form. You can't display image in dev. mode.

Best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest