loadPackage Method

Summary

Loads the automation objects from the specified package.

Syntax
TypeScript
JavaScript
AnnAutomationManager.prototype.loadPackage = function( 
   pack, 
   groupName 
) 
loadPackage( 
   pack: IAnnPackage, 
   groupName: string 
): void; 

Parameters

pack

Package to load. This cannot be null.

groupName

Group name to use. This can be null.

Remarks

This method will call getAutomationObjects, set the value of groupName and add them to the Objects collections. After this method finishes, all the objects found in the package will be usable through automation.

For a complete example of an annotation pack, refer to the Leadtools.Annotations.UserMedicalPack sample library shipped with LEADTOOLS.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.