←Select platform

LoadPackage Method

Summary
Loads the automation objects from the specified package.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public void LoadPackage( 
   IAnnPackage pack, 
   string groupName 
) 
- (void)loadPackage:(id<LTIAnnPackage>)pack groupName:(NSString *)groupName; 
public void loadPackage(IAnnPackage pack, String groupName) 
public:  
   void LoadPackage( 
      IAnnPackage^ pack, 
      String^ groupName 
   ) 
def LoadPackage(self,pack,groupName): 

Parameters

pack
Package to load. This cannot be null.

groupName
Group name to use. This can be null.

Remarks

This method will call IAnnPackage.GetAutomationObjects of pack, set the value of AnnAutomationObject.GroupName for each AnnAutomationObject to 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 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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