DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Resize Express ActiveX control

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
246 Views, 2 Replies

Resize Express ActiveX control

How do you resize the ActiveX control from within a page as it loads? When you double-click a .DWF file, it fires up IE and loads the .DWF to the maximum extents in the largest window available on the current display. I cannot seem to replicate this behavior in HTML.

Thnaks for any help you can give!
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous


You can use Java Script to resize
the window



size=2>
 


<object
classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF" id="AdView" width="450"
height="300">

<param name="Src"
value="http://www.autodesk.com/file.dwf">
value="http://pcl16996/adExpressViewer/dwf/W_HeathRow_white_background_V40.dwf"
name="Src">

</object>

 

<INPUT type="button" value="Make
Smaller", onclick='MakeSmaller ()'>

 

<SCRIPT
LANGUAGE="javascript">

  function MakeSmaller ()

  {

    AdView.width =
AdView.width -10;

    AdView.height =
AdView.height - 10;

  }

</SCRIPT>

 
value="http://pcl16996/adExpressViewer/dwf/W_HeathRow_white_background_V40.dwf"
name="Src">


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
How
do you resize the ActiveX control from within a page as it loads? When you
double-click a .DWF file, it fires up IE and loads the .DWF to the maximum
extents in the largest window available on the current display. I cannot seem
to replicate this behavior in HTML.

Thnaks for any help you can give!

Message 3 of 3
Anonymous
in reply to: Anonymous

Thanks for the clue!
I wound up doing this:



which sizes the Viewer to just a little smaller than the available page area in the browser.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report