←Select platform

Load(string,AnnContainer,int) Method

Summary

Loads the annotation objects from a disk file.

Syntax

C#
VB
C++
public void Load( 
   string fileName, 
   AnnContainer container, 
   int page 
) 
  
Public Overloads Sub Load( _ 
   ByVal fileName As String, _ 
   ByVal container As Leadtools.Windows.Annotations.AnnContainer, _ 
   ByVal page As Integer _ 
)  
public: 
void Load(  
   String^ fileName, 
   Leadtools.Windows.Annotations.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. If you are re-using an existing collection into which to load the annotation objects, make sure to call AnnObjectCollection.Clear on the collection before calling this method. For more information, refer to WPF Annotation Files.

Example

For C#/VB examples, refer to AnnCodecs.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly