LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnnCodecsFormat Enumeration
See Also  
Leadtools.Annotations Namespace : AnnCodecsFormat Enumeration



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

Represents supported annotation file formats.

Syntax

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

Members

MemberDescription
EmfUse the Windows EMF format (LEADTOOLS Win32 compatible). Note that this format is Save only. LEADTOOLS for .NET annotations library will not load or get information for a EMF file.
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.
SerializeFormat is a .NET Serialize format (not compatible with LEADTOOLS Win32 annotations). Note that this is the only format that will support saving custom annotations.
UnknownFormat is an Unknown (invalid) format.
WmfUse the Windows WMF format (LEADTOOLS Win32 compatible). Note that this format is Save only. LEADTOOLS for .NET 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 LEADTOOLS Win32 compatible.

Example

For an example, 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 Annotation Files.

Inheritance Hierarchy

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

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