The Format Property supports WPF/Silverlight.
The Format Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the format of the annotation file or stream.| 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.For C#/VB examples, refer to AnnCodecs.
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 | WPF Serialize format. (not compatible with LEADTOOLS .NET 2.0/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. (LEASDTOOLS CDLL and .NET annotations compatible). Note that this format is Save only. LEADTOOLS for .NET annotations library will not load or get information for a WMF 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 LEASDTOOLS CDLL and .NET annotations. compatible. For more information, refer to WPF Annotations XML Format. | 
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
 
  