Click or drag to resize

IWangCompatible Interface

This interface is used to indicate that an AnnotationData object is WANG compatible.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public interface IWangCompatible

The IWangCompatible type exposes the following members.

Public methodGetWangAttributeData
Returns a WangAttributeData object containing information about the annotation to be formatted as WANG data.

The WangFormatter will only convert AnnotationData objects that implement the IWangCompatible interface. Below is a list of classes which implement this interface:

  • EmbeddedImageData
  • FreehandData
  • LineData
  • LinesData
  • RectangleData
  • ReferencedImageData
  • TextData

Note to implementors:
In addition to the GetWangAttributeData method there must be a constructor that takes a WangAttributeData object in the class to allow the WangFormatter to deserialize the data.

See Also