loadPackage Method

Summary

Loads the automation objects from the specified package.

Syntax

JavaScript Syntax
AnnAutomationManager.prototype.loadPackage = function(pack, groupName) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly