Leadtools.Annotations Namespace > AnnCodecs Class > Load Method : Load(String) Method |
public AnnContainer[] Load( string fileName )
'Declaration Public Overloads Function Load( _ ByVal fileName As String _ ) As AnnContainer()
'Usage Dim instance As AnnCodecs Dim fileName As String Dim value() As AnnContainer value = instance.Load(fileName)
public: array<AnnContainer^>^ Load( String^ fileName )
Use the method to load all pages of a annotation file at once. If the annotation file contains many pages, then this method will load the pages much faster than calling Load(String,AnnContainer,Int32) multiple times (once for each page in the annotation file).
This method only supports the AnnCodecsFormat.Xml format. All other AnnCodecsFormat are not supported.
For more information, refer to Annotation Files.