Loads the automation objects from the specified package.
public void LoadPackage(
IAnnPackage pack,
string groupName
)
Public Sub LoadPackage( _
ByVal pack As Leadtools.Annotations.Automation.IAnnPackage, _
ByVal groupName As String _
)
public void LoadPackage(
Leadtools.Annotations.Automation.IAnnPackage pack,
string groupName
)
function Leadtools.Annotations.Automation.AnnAutomationManager.LoadPackage(
pack ,
groupName
)
public:
void LoadPackage(
IAnnPackage^ pack,
String^ groupName
)
pack
Package to load. This cannot be null.
groupName
Group name to use. This can be null.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET