VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.Formatters Namespace / AnnotationWangFormatter Class / Serialize Method
The stream where the formatter puts the serialized data.
The Vintasoft.Imaging.Annotation.AnnotationDataCollection or Vintasoft.Imaging.Annotation.AnnotationData object to serialize. All annotations of Vintasoft.Imaging.Annotation.AnnotationDataCollection object are automatically serialized.



In This Topic
    Serialize Method (AnnotationWangFormatter)
    In This Topic
    Syntax
    'Declaration
     
    Public Overrides Sub Serialize( _
       ByVal serializationStream As Stream, _
       ByVal graph As Object _
    ) 
    public override void Serialize( 
       Stream serializationStream,
       object graph
    )
    public: void Serialize( 
       Stream* serializationStream,
       Object* graph
    ) override 
    public:
    void Serialize( 
       Stream^ serializationStream,
       Object^ graph
    ) override 

    Parameters

    serializationStream
    The stream where the formatter puts the serialized data.
    graph
    The Vintasoft.Imaging.Annotation.AnnotationDataCollection or Vintasoft.Imaging.Annotation.AnnotationData object to serialize. All annotations of Vintasoft.Imaging.Annotation.AnnotationDataCollection object are automatically serialized.
    Exceptions
    ExceptionDescription
    Thrown if serializationStream or graph is null.
    Thrown if formatter does not support serialization of provided type.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also