LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
LoadFromTag Method
See Also 
Leadtools.Annotations Namespace > AnnCodecs Class : LoadFromTag Method



tag
An Leadtools.RasterTagMetadata object containing the annotation objects being loaded.
container
An AnnContainer into which to load the objects.

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.
Loads the annotation objects stored in a TIFF tag.

Syntax

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.

Example

For an example, refer to AnnCodecs.SaveToTag.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features