Error processing SSI file
(Leadtools.Annotations.Automation)

Show in webframe

LoadPackage Method






Package to load. This cannot be null.
Group name to use. This can be null.
Loads the automation objects from the specified package.
Syntax
public void LoadPackage( 
   IAnnPackage pack,
   string groupName
)
'Declaration
 
Public Sub LoadPackage( _
   ByVal pack As IAnnPackage, _
   ByVal groupName As String _
) 
public void LoadPackage( 
   IAnnPackage pack,
   string groupName
)
public void loadPackage(IAnnPackage pack, String groupName)
 function Leadtools.Annotations.Automation.AnnAutomationManager.LoadPackage( 
   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

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members

Error processing SSI file
  Leadtools.Annotations.Automation requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features