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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public interface IWangCompatible

The IWangCompatible type exposes the following members.

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

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