Embedded Autodesk Express Viewer for viewing the dwf File

Source: Internet
Author: User

You can download the free dwfviewer from the autodesk website. After installing the dwfviewer, you can view its help file, which contains "embed Autodesk DWF Viewer in HTML files". The details are as follows:
<Html>
<Head>
<Script type = "text/javascript" FOR = "ADViewer" EVENT = "OnEndLoadItem (ItemName, Data, Result)">
//####################################
// Event for type of DWF loaded
//####################################
If (ItemName = "SECTION ")
{
ADViewer. ExecuteCommand ('fittowindow ');
// FillContent ();
}

If (ItemName = "VIEWER ")
{
// Turn off all the UI
Commands = ADViewer. ECompositeViewer. Commands;
Commands ('toolbar'). Toggled = false; // hide standard TOOLBAR
Commands ('animationbar'). Toggled = false; // hide Animation bar
Commands ('dataframeui '). Toggled = false; // hide data pane
Commands ("gridrolover"). Toggled = false; // hide the grid roll over (up arrow)
Commands ("CANVASTITLE"). Toggled = false; // hide canvas title bar
}

</Script>
<Title> </title>
</Head>
<Body>
<Object id = "ADViewer"
Classid = "clsid: A662DA7E-CCB7-4743-B71A-D817F6D575DF"
CODEBASE = "http://www.autodesk.com/global/expressviewer/installer/ExpressViewerSetup.cab" width = "800" height = "600" border = "1">
<Param name = "Src" VALUE = "http://www.autodesk.com/global/expressviewer/installer/sample.dwf"/>

</Object>

</Body>
</Html>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.