LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Load(String,AnnContainer,Int32) Method






Name of the annotation file to load.
An AnnContainer into which to load the objects.
1-based page number to load.
Loads the annotation objects from a disk file.
Syntax
public void Load( 
   string fileName,
   AnnContainer container,
   int page
)
'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)
public void Load( 
   string fileName,
   AnnContainer container,
   int page
)
 function Leadtools.Annotations.AnnCodecs.Load(String,AnnContainer,Int32)( 
   fileName ,
   container ,
   page 
)
public:
void Load( 
   String^ fileName,
   AnnContainer^ container,
   int page
) 

Parameters

fileName
Name of the annotation file to load.
container
An AnnContainer into which to load the objects.
page
1-based page number to load.
Remarks

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.

Example
For an example, refer to AnnCodecs.
Requirements

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

See Also

Reference

AnnCodecs Class
AnnCodecs Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.