VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Formatters Namespace / AnnotationVintasoftBinaryFormatter Class / Serialize(Stream,Object) Method
Syntax Exceptions Requirements SeeAlso
    Serialize(Stream,Object) Method (AnnotationVintasoftBinaryFormatter)
    Serializes an AnnotationDataCollection or AnnotationData object to the provided stream.
    Syntax
    'Declaration
    
    Public Overrides 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 _
    )
     

    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.
    Exceptions
    ExceptionDescription
    Thrown if serializationStream or graph is null.
    Thrown if formatter does not support serialization of provided type.
    Requirements

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

    See Also