Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Format Property
See Also 
Leadtools.Annotations Namespace > AnnCodecsInformation Class : Format Property



Gets or sets the format of the annotation file or stream.

Syntax

Visual Basic (Declaration) 
Public Property Format As AnnCodecsFormat
Visual Basic (Usage)Copy Code
Dim instance As AnnCodecsInformation
Dim value As AnnCodecsFormat
 
instance.Format = value
 
value = instance.Format
C# 
public AnnCodecsFormat Format {get; set;}
C++/CLI 
public:
property AnnCodecsFormat Format {
   AnnCodecsFormat get();
   void set (AnnCodecsFormat value);
}

Return Value

An AnnCodecsFormat value that specifies the format of the annotation file or stream.

Example

For an example, refer to AnnCodecs.

Remarks

Possible values are:
FormatDescription
AnnCodecsFormat.UnknownUnknown (invalid) format. LEADTOOLS for .NET will not be able to load this file or stream. The Pages value will always be 0.
AnnCodecsFormat.Serialize.NET Serialize format. (not compatible with LEADTOOLS Win32 annotations).
AnnCodecsFormat.NativeNative format. LEADTOOLS for .NET should be able to load this file or stream. Note: This format has been replaced by AnnCodecsFormat.Xml, and is no longer supported.
AnnCodecsFormat.WmfWindows 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.
AnnCodecsFormat.EmfWindows 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.
AnnCodecsFormat.EncodedA binary format. Note: This format has been replaced by AnnCodecsFormat.Xml, and is no longer supported.
AnnCodecsFormat.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. For more information, refer to New Annotation Features of Version 14.5.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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