Preview

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  The MapForce API > Object Reference > Interfaces > Component > Properties >

Preview

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.

 

Signature

Preview : Boolean

 

Errors

Error code

Description

1200

The object is no longer valid.

1201

Invalid address for the return parameter was specified.

1234

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

1235

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


© 2019 Altova GmbH