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



The Format Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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);
}

Property 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:
Format Description
AnnCodecsFormat.Unknown Unknown (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.Native Native 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.Wmf 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.
AnnCodecsFormat.Emf 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.
AnnCodecsFormat.Encoded A binary format. Note: This format has been replaced by AnnCodecsFormat.Xml, and is no longer supported.
AnnCodecsFormat.Xml Format 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 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