Altova MapForce 2022 Professional Edition

HTML Integration at Document Level

Home Prev Top Next

This example shows an integration of the MapForce control at document-level into a HTML page. The following topics are covered:


Instantiate a MapForceControl ActiveX control object in HTML code

Instantiate a MapForceControlDocument ActiveX control to allow editing a MapForce file

Instantiate one MapForceControlPlaceHolder for a MapForceControl project window

Instantiate one MapForceControlPlaceHolder to alternatively host one of the MapForce helper windows

Create a simple custom toolbar for some heavy-used MapForce commands

Add some more buttons that use the COM automation interface of MapForce

Use event handlers to update command buttons


This example is available in its entirety in the file MapForceActiveX_DocumentLevel.htm  within the <ApplicationFolder>\Examples\ActiveX\HTML\ folder of your MapForce installation.

© 2016-2022 Altova GmbH