How can i make a default selection of Pan in toolbar of Document Viewer ?
Question asked by sanjeev kumar - September 11 at 11:13 PM
Answered
How can i make a default selection of Pan in toolbar of Document Viewer ?

1 Reply

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Answer
You can use this code:

<GleamTech:DocumentViewerControl ID="documentViewer" runat="server" 
        Width="800" 
        Height="600"
        Resizable="True">
        
   <ClientEvents Loaded="documentViewerLoaded" />

</GleamTech:DocumentViewerControl>        
        
<script type="text/javascript">
    function documentViewerLoaded(sender, e) {
        var documentViewer = sender;
        documentViewer.setToolMode("Pan");
    }
</script>

Reply to Thread