The LoadFromTag Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- tag
- An Leadtools.RasterTagMetadata object containing the annotation objects being loaded.
- container
- An AnnContainer into which to load the objects.
| Visual Basic (Declaration) | |
|---|---|
Public Sub LoadFromTag( _ ByVal tag As RasterTagMetadata, _ ByVal container As AnnContainer _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As AnnCodecs Dim tag As RasterTagMetadata Dim container As AnnContainer instance.LoadFromTag(tag, container) | |
| C# | |
|---|---|
public void LoadFromTag( RasterTagMetadata tag, AnnContainer container ) | |
| C++/CLI | |
|---|---|
public: void LoadFromTag( RasterTagMetadata^ tag, AnnContainer^ container ) | |
Parameters
- tag
- An Leadtools.RasterTagMetadata object containing the annotation objects being loaded.
- container
- An AnnContainer into which to load the objects.
For an example, refer to AnnCodecs.SaveToTag.
The tag should have an ID = .AnnotationTiff (the value 80A4 in hexadecimal).
You can use the Leadtools.Codecs.RasterCodecs.ReadTag(System.IO.Stream,System.Int32,System.Int32) method to load tag objects from a TIFF file.
For more information, refer to Annotation Files.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code