alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class AnnotationStyleJsonConverter

    Serializes an TextStyle to the EJ2 Diagram TextStyleModel JSON shape.

    Inheritance
    System.Object
    AnnotationStyleJsonConverter
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public sealed class AnnotationStyleJsonConverter : JsonConverter<TextStyle>

    Constructors

    AnnotationStyleJsonConverter()

    Declaration
    public AnnotationStyleJsonConverter()

    Methods

    Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Declaration
    public override TextStyle Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    System.Text.Json.Utf8JsonReader reader
    System.Type typeToConvert
    System.Text.Json.JsonSerializerOptions options
    Returns
    Type
    TextStyle

    Write(Utf8JsonWriter, TextStyle, JsonSerializerOptions)

    Declaration
    public override void Write(Utf8JsonWriter writer, TextStyle value, JsonSerializerOptions options)
    Parameters
    Type Name Description
    System.Text.Json.Utf8JsonWriter writer
    TextStyle value
    System.Text.Json.JsonSerializerOptions options
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved