Insert Viewer Control into Microsoft PowerPoint 2016
STK Viewer comes with an ActiveX control that can be loaded into
a Microsoft PowerPoint presentation. The following steps are
designed to assist you in accessing and inserting the STK Viewer
control into a Microsoft PowerPoint 2016 presentation.
Note: Before proceeding with the steps
below, ensure that STK Viewer is installed on the computer that
will be used for creating the Microsoft PowerPoint
- In the PowerPoint window, right-click the ribbon bar and select
Customize the Ribbon... from the context
- Enable Developer under "Customize the ribbon"
and click OK. This will add a Deveoper Tab to the ribbon bar.
- Click the Developer tab.
(More Controls button) located in the Controls section. This
will bring up a list of available controls.
- Select AGI Viewer Control 11 from the controls list and
- Once the Viewer control has been selected, click on the area of
the PowerPoint presentation's slide where you would like the
control to appear, and drag the mouse to create the bounding box
for the control. When you're satisfied with the size of the
control's bounding box, release the left mouse button on the slide
to draw the control.
- Right-click the new control and select Property Sheet
from the context menu.
- In the table that appears, locate DefaultPackageName and
type the full path (including the file name and extension) to your
Viewer file in the adjacent field. If the Viewer file (*.vdf) is in
the same folder as the Microsoft PowerPoint presentation, you can
simply put the file name in this field.
Note: If you are only incorporating one VDF
file, you can change the PptPreloadMode value to true. This
will prevent the Viewer file from loading each time you get to that
slide. However, when loading several different VDF files, the
PptPreloadMode should remain set to false, otherwise
Microsoft PowerPoint will continue to display the first VDF file
- Close the Properties window.
- Enable a Slide Show mode and wait while Microsoft
PowerPoint loads the Viewer scenario.
Note: There is a direct correlation between
the complexity of a Viewer file and the time it takes to load.
Note: If you set the Preload Textures
option to true, there should be no significant delay the second
time the slide is visited.
STK 11.2.1 Programming Interface