GdViewer is always displayed in front

Discussions about document viewing.
Post Reply
gtoledo
Posts: 43
Joined: Thu May 28, 2009 7:30 pm

GdViewer is always displayed in front

Post by gtoledo » Wed Jan 28, 2015 1:58 am

Hi,
Can you help me with a problem with GdViewer?. I am developing a web application with ASP.Net and GdPicture Ver. 11, add a GdViewer within an <object>, the problem is I have not been able to establish "z-index" for this object, is always displayed in front of all form controls.

Thanks.

Code: Select all

    <object id="GdViewer" type="application/x-oleobject" class="Viewer" classid="CLSID:DBBC5AB7-519C-4452-99E5-DCF34F65FF7C" >
        <param name="BackColor" value="#FCFCFC" />
        <param name="ZoomMode" value="2" />
        <param name="AllowDropFile" value="true" />
	<param name="EnableMenu" value="-1" />
        Por favor, habilite ActiveX para visualizar el objeto Viewer
    </object>

Code: Select all

<body onload="OnInit()">
    <div id="divRcswa" style="width: 100%; height: 100%;">
        <div id="parentLayoutObj"></div>
        <uc1:wucThumbnails runat="server" ID="wucThumbnails" />
        <uc1:wucViewer runat="server" ID="wucViewer"/>

        <script type="text/javascript" for="GdViewer" event="PageChanged()">
            toolbar_Viewer.setItemText('counter', ('Imagen: ' + oGdViewer.CurrentPage + ' / ' + oGdViewer.PageCount));
        </script>

        <script for="GdViewer" event="DropFile(File)">
            oGdImaging.TiffOpenMultiPageForWrite(true);
            nMultipageTiffImage = oGdImaging.CreateGdPictureImageFromFile(File);
            oGdViewer.DisplayFromGdPictureImage(nMultipageTiffImage);
            onDocumentLoaded();
            SetTextItems();
        </script>
    </div>
</body>
</html>
OK.png
This is OK...
Failed.png
This is the problem...
I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?

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

Re: GdViewer is always displayed in front

Post by Loïc » Wed Jan 28, 2015 12:58 pm

Hello,

This is a css issue. Please have a look on our demo: http://www.gdpicture.com/demo/html-acti ... ation.html
As you can see, all menu and windows appear in from of all GdPicture controls.
gdpicture_activex_overlay.png
Kind regards,

Loïc

gtoledo
Posts: 43
Joined: Thu May 28, 2009 7:30 pm

Re: GdViewer is always displayed in front

Post by gtoledo » Wed Jan 28, 2015 6:40 pm

Thank, i check the demo and let you know the results.
I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?

gtoledo
Posts: 43
Joined: Thu May 28, 2009 7:30 pm

Re: GdViewer is always displayed in front

Post by gtoledo » Thu Feb 12, 2015 4:22 pm

Thanks, I resolved the issue
I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests