Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Format Property
See Also 
Leadtools.Windows.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 C#/VB examples, 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.SerializeWPF Serialize format. (not compatible with LEADTOOLS .NET 2.0/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.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 WPF Annotations XML Format.

Requirements

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

See Also

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