VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.Web.Services Namespace / AnnotationJsonFormatter Class / Serialize(Object) Method
Syntax Requirements SeeAlso
In This Topic
    Serialize(Object) Method (AnnotationJsonFormatter)
    In This Topic
    Serializes an Vintasoft.Imaging.Annotation.AnnotationDataCollection or Vintasoft.Imaging.Annotation.AnnotationData object to a JSON object.
    Syntax
    'Declaration
    
    Public Function Serialize( _
    ByVal 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.
    As Object _
    ) As String
    public string Serialize(
    object graph
    )
    public: string* Serialize(
    object* graph
    )
    public:
    string^ Serialize(
    object^ graph
    )

    Parameters

    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.

    Return Value

    JSON object that represents serialized annotation collection or annotation.
    Requirements

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

    See Also