Click or drag to resize

XmpFormatter.Serialize Method

Serializes an object into XMP data.

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

Parameters

serializationStream
Type: System.IO.Stream
The stream where the XMP data will be stored.
graph
Type: System.Object
The object to serialize.

Implements

IFormatter.Serialize(Stream, Object)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the serializationStream or graph parameter is null.
SerializationExceptionThrown if there is an error during the serialization process.
See Also