Please enable JavaScript to view this site.

Altova MapForce 2022 Professional Edition

Gets or sets if the component is the current preview component.


This property works only for components, which are target components in the document's main mapping. Only one target component in the main mapping can be the preview component at any time.


When setting this property, it is only possible to set it to true. This then will also implicitly set the Preview property of all other components to false.


If there is just a single target component in the main mapping, it is also the preview component.



Preview : Boolean



Error code



The object is no longer valid.


Invalid address for the return parameter was specified.


Only a target component in the main mapping can be set as preview component.


A component cannot be set as non-preview component. Set another component as preview component instead.

© 2016-2022 Altova GmbH