Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property AnnCodecsFormat get_Format();
public: __property void set_Format( 
   AnnCodecsFormat value
);
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.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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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