Habilite JavaScript para visualizar esta página.

Altova StyleVision 2020 Enterprise Edition

Integration at application level allows you to embed the complete interface of StyleVision into a window of your application. With this type of integration, you get the whole user interface of StyleVision, including all menus, toolbars, the status bar, document windows, and helper windows. Customization of the application's user interface is restricted to what StyleVision provides. This includes rearrangement and resizing of helper windows and customization of menus and toolbars.

 

The only ActiveX control you need to integrate is StyleVisionControl. Do not instantiate or access StyleVisionControlDocument or StyleVisionControlPlaceHolder ActiveX controls when integrating at application-level.

 

If you have any initialization to do or if you want to automate some behaviour of StyleVision, use the properties, methods, and events described for StyleVisionControl. Consider using StyleVisionControl.Application for more complex access to StyleVision functionality.

 

For an example that shows how the StyleVision application can be embedded in an HTML page, see HTML Integration at Application Level.

 

In C# or VB.NET with Visual Studio, the steps to create a basic, one-form application which integrates the StyleVision ActiveX controls at application level are as follows:

 

1.Check that all prerequisites are met (see Prerequisites).

2.Create a new Visual Studio Windows Forms project with a new empty form.

3.If you have not done that already, add the ActiveX controls to the toolbox (see Adding the ActiveX Controls to the Toolbox).

4.Drag the StyleVisionControl from the toolbox onto your new form.

5.Select the StyleVisionControl on the form, and, in the Properties window, set the IntegrationLevel property to ICActiveXIntegrationOnApplicationLevel.

ax_applevel_properties_stylevision

 

6.Create a build platform configuration that matches the platform under which you want to build (x86, x64). Here is how you can create the build configuration:

 

a.Right-click the solution in Visual Studio, and select Configuration Manager.

b.Under Active solution platform, select New... and then select the x86 or x64 configuration (in this example, x86).

ax_vs_build_platform

You are now ready to build and run the solution in Visual Studio. Remember to build using the configuration that matches your target platform (x86, x64).

© 2019 Altova GmbH