VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Formatters Namespace / AnnotationFormatter Class / Serialize(Stream,Object) Method
Syntax Requirements SeeAlso
In This Topic
    Serialize(Stream,Object) Method (AnnotationFormatter)
    In This Topic
    Serializes an AnnotationDataCollection or AnnotationData object to the provided stream.
    Syntax
    'Declaration
    
    Public MustOverride Sub Serialize( _
    ByVal serializationStream
    The stream where the formatter puts the serialized data.
    As System.IO.Stream, _
    ByVal graph
    The AnnotationDataCollection or AnnotationData object to serialize. All annotations of AnnotationDataCollection object are automatically serialized.
    As System.Object _
    )
    public abstract void Serialize(
    System.IO.Stream serializationStream,
    System.Object graph
    )
    public: abstract void Serialize(
    System.IO.Stream* serializationStream,
    System.Object graph
    )
    public:
    abstract void Serialize(
    System.IO.Stream^ serializationStream,
    System.Object graph
    )

    Parameters

    serializationStream
    The stream where the formatter puts the serialized data.
    graph
    The AnnotationDataCollection or AnnotationData object to serialize. All annotations of AnnotationDataCollection object are automatically serialized.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also