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 AnnContainer[] Load( string fileName )
function Leadtools.Annotations.AnnCodecs.Load(String)( 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2