Click or drag to resize

WangFormatterSerialize Method

Serializes annotations into WANG format.

Namespace:  Atalasoft.Annotate.Formatters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Serialize(
	Stream serializationStream,
	Object graph
)

Parameters

serializationStream
Type: System.IOStream
The stream where serialized data will be stored.
graph
Type: SystemObject
The object to serialize.

Implements

IFormatterSerialize(Stream, Object)
Remarks

The WANG format supports only basic annotation data. The following DotImage annotations are WANG compatible:

Data

Annotation

EmbeddedImageDataEmbeddedImageAnnotation
FreehandDataFreehandAnnotation
LineDataLineAnnotation
RectangleDataRectangleAnnotation
ReferencedImageDataReferencedImageAnnotation
TextDataTextAnnotation

See Also