Leadtools.Annotations Namespace > AnnCodecs Class > Load Method : Load(String,AnnContainer,Int32) Method |
'Declaration Public Overloads Sub Load( _ ByVal fileName As String, _ ByVal container As AnnContainer, _ ByVal page As Integer _ )
'Usage Dim instance As AnnCodecs Dim fileName As String Dim container As AnnContainer Dim page As Integer instance.Load(fileName, container, page)
This method will not remove any existing objects in the container, so if you are re-using an existing collection to load the annotation objects into, make sure to call RasterCollection<AnnObject>.Clear on the collection before you call this method.
To load multiple containers from a multi-page file using one method, use Load(string).
For more information, refer to Annotation Files.