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
AnnCodecsFormat Enumeration
See Also  
Leadtools.Windows.Annotations Namespace : AnnCodecsFormat Enumeration



The AnnCodecsFormat Enumeration supports WPF/Silverlight.

The AnnCodecsFormat Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Represents supported annotation file formats.

Syntax

Visual Basic (Declaration) 
Public Enum AnnCodecsFormat 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As AnnCodecsFormat
C# 
public enum AnnCodecsFormat : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class AnnCodecsFormat : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
EncodedThis format has been replaced by AnnCodecsFormat.Xml and is no longer supported.
NativeThis format has been replaced by AnnCodecsFormat.Xml and is no longer supported.
NativeXmlFormat is pure WPF/Silverlight XML. This is a text-based format for storing LEAD annotations that follows the XML (Extensible Markup Language) format. This is upward compatible but not compatible with LEASDTOOLS CDLL and .NET annotations.
UnknownFormat is an Unknown (invalid) format.
WmfUse the Windows WMF format (LEADTOOLS .NET 2.0/Win32 compatible). Note that this format is Save only. LEADTOOLS for WPF annotations library will not load or get information for a WMF file.
XmlFormat is XML. This is a text-based format for storing LEAD annotations that follows the XML (Extensible Markup Language) format. This is upward compatible and LEASDTOOLS CDLL and .NET annotations compatible.

Example

For C#/VB examples, refer to AnnCodecs.

Remarks

Use this enumeration with the AnnCodecs.Save method to specify the format to be used when saving the annotation objects to a file or stream.

Also, the AnnCodecs.GetInformation method will return a member of this enumeration in the AnnCodecsInformation.Format property specifying the annotation format in the file or stream.

For more information, refer to WPF Annotation Files.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Annotations.AnnCodecsFormat

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

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