Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomationManager Class : LoadPackage Method |
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)
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.