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



tagData
A byte array containing the annotation objects being loaded.
container
An AnnContainer into which to load the objects.

The LoadFromTag Method supports WPF/Silverlight.

The LoadFromTag Method is available in LEADTOOLS Document and Medical Imaging toolkits.

tagData
A byte array 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 tagData() As Byte, _
   ByVal container As AnnContainer _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnCodecs
Dim tagData() As Byte
Dim container As AnnContainer
 
instance.LoadFromTag(tagData, container)
C# 
public void LoadFromTag( 
   byte[] tagData,
   AnnContainer container
)
C++/CLI 
public:
void LoadFromTag( 
   array<byte>^ tagData,
   AnnContainer^ container
) 

Parameters

tagData
A byte array containing the annotation objects being loaded.
container
An AnnContainer into which to load the objects.

Example

For C#/VB examples, refer to AnnCodecs.SaveToTag.

Remarks

You can use the System.Windows.Media.Imaging.BitmapMetadata.GetQuery(System.String) method to load tag objects from a TIFF file.

For more information, refer to WPF Annotation Files.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

LoadFromTag requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.