Visible
The Visible property enables you to retrieve the current visibility value or set a new value. The value true means that MapForce is displayed on the screen even if it is covered by other applications. The value false means that MapForce is hidden. The default value for MapForce when it automatically starts due to a request from the automation server Application is false. In all other cases, the property is true.
An application instance that is visible is said to be controlled by the user (and possibly by clients connected via the automation interface). It will only shut down due to an explicit user request. To shut down an application instance, set its visibility to false and clear all references to this instance within your program. The application instance will shut down automatically when no further COM clients have references to it.
Signature
Visible as Boolean |
Errors
Error code | Description |
---|---|
1000 | The application object is no longer valid. |
1001 | Invalid address for the return parameter was specified. |