alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class AIAssistViewTextToSpeechSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    AIAssistViewTextToSpeechSettings
    Namespace: Syncfusion.EJ2.InteractiveChat
    Assembly: Syncfusion.AspNetCore.InteractiveChat.dll
    Syntax
    public class AIAssistViewTextToSpeechSettings : EJTagHelper

    Constructors

    AIAssistViewTextToSpeechSettings()

    Declaration
    public AIAssistViewTextToSpeechSettings()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    InputText

    Specifies the text content to be converted into speech. Accepts plain string input for synthesis.

    Declaration
    public string InputText { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Language

    Specifies the language used for text-to-speech synthesis. Accepts valid ISO language codes such as 'en-US', 'fr-FR', or 'de-DE'.

    Declaration
    public string Language { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "en-US"

    SpeechPitch

    Specifies the pitch of the synthesized voice. Accepts numeric values typically between 0 (low) and 2 (high).

    Declaration
    public double SpeechPitch { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    SpeechRate

    Specifies the speaking rate of the synthesized voice. Accepts numeric values typically between 0.1 (slow) and 10 (fast).

    Declaration
    public double SpeechRate { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Voice

    Specifies the voice used for speech synthesis. Must be a valid SpeechSynthesisVoice from speechSynthesis.getVoices().

    Declaration
    public object Voice { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Volume

    Specifies the volume level of the synthesized voice. Accepts numeric values between 0 (mute) and 1 (maximum).

    Declaration
    public double Volume { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved