![]() |
![]() |
Web Integration > Modifying a web page > Setting the size of the 3D window in a web page
Setting the size of the 3D window in a web page
The 3D window can be any size. You set the size in the Publishing Settings dialog in AXEL or in the object code in the HTML file.
To set the size of the 3D window using AXEL:
- Choose Web Integration > Publishing Settings.
- Do one of the following:
- Drag the WebCam viewport to the size you want, then click Get Webcam Size in the Publishing Settings dialog. The 3D Window Width and Depth are set to the size of the WebCam viewport.
- In 3D Window Width, enter the width in pixels or as a percentage of the web page width. In 3D Window Height, enter the height in pixels or as a percentage of the web page height.
When you click Publish, the window size attributes are updated in the object code of the published content.
To set the size of the 3D window in the HTML code:
- Open the host web page in a text editor.
- Change the width and height attributes in the AXEL object code.
Note: The size attributes will be overwritten the next time you publish this host web page. To re-publish the 3D content without changing the window size, either set the window size as desired in the Publishing Settings, or change the name of the host web page, so that when you publish, you update the stream file without changing the rest of the htm page.
![]() |
![]() |