Home | About us | Overview | Software - Download | Evaluate | Order | Support | Contact | F.A.Q. | Documentations | Blog | Newsletter
Loading...

Can I set Image on page startup

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Can I set Image on page startup

Postby 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
Bnorfolk
 
Posts: 6
Joined: Fri Oct 10, 2008 4:10 pm

Re: Can I set Image on page startup

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4226
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest