Loads the annotation objects from a disk file.
public void Load(
string fileName,
AnnContainer container,
int page
)
Public Overloads Sub Load( _
ByVal fileName As String, _
ByVal container As Leadtools.Annotations.AnnContainer, _
ByVal page As Integer _
)
public:
void Load(
String^ fileName,
Leadtools.Annotations.AnnContainer^ container,
int page
)
fileName
Name of the annotation file to load.
container
An AnnContainer into which to load the objects.
page
1-based page number to load.
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 (Deprecated).
For an example, refer to AnnCodecs.
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