18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WORKING WITH THE ARCGIS CONTROLS<br />

LicenseControl will initially try to initialize the application with an <strong>ArcGIS</strong><br />

<strong>Engine</strong> license (the lower license). If that license is not available, the<br />

LicenseControl will try to initialize the application with an ArcView license (the<br />

next higher level license selected). If no product licenses are available, then the<br />

application will fail to initialize. Note that once an application is initialized with<br />

a product license, it is not possible to reinitialize the application for the duration<br />

of the application’s life.<br />

Extensions<br />

Select the extension licenses required by the application. Not every extension<br />

license is available with every product license; as such the list of available extension<br />

licenses will change as different product licenses become selected. The availability<br />

of each extension license is checked in conjunction with the product<br />

license with which the application will ultimately be initialized. If any of the<br />

selected extensions are not available, the application will fail to initialize. The<br />

LicenseControl will check out extensions directly after the application is initialized<br />

and will check in extensions when the application is shutdown.<br />

If a SceneControl or GlobeControl (requiring the 3D Analyst extension) is embedded<br />

within the same container as the LicenseControl, the 3D Analyst extension<br />

will automatically be checked.<br />

Shutdown<br />

Set whether the LicenseControl will automatically shut down the application if<br />

license initialization fails. If the LicenseControl handles license initialization<br />

failure, a License Failure dialog box will be displayed to the user before the<br />

application is shut down. If the developer handles license initialization failure,<br />

the LicenseAvailability, Status, and Summary properties can be used to obtain<br />

information on the nature of the failure before the application is programmatically<br />

shut down.<br />

Chapter 3 • Developing with <strong>ArcGIS</strong> controls • 49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!