menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorAudioSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RichTextEditorAudioSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorAudioSettings
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorAudioSettings : EJTagHelper

    Constructors

    RichTextEditorAudioSettings()

    Declaration
    public RichTextEditorAudioSettings()

    Properties

    AllowedTypes

    Specifies the allowed file types for audio selection.

    Declaration
    public string[] AllowedTypes { get; set; }
    Property Value
    Type Description
    System.String[]

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

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

    LayoutOption

    Specifies whether the audio is inserted inline or with a break.

    Declaration
    public DisplayLayoutOptions LayoutOption { get; set; }
    Property Value
    Type Description
    DisplayLayoutOptions

    The default value is DisplayLayoutOptions.Inline

    Path

    Specifies the path for storing and displaying audio files.

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

    The default value is null

    RemoveUrl

    Specifies the URL for the remove action that handles audio removal on the server.

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

    The default value is null

    SaveFormat

    Specifies whether the inserted audio is saved as a blob or base64.

    Declaration
    public SaveFormat SaveFormat { get; set; }
    Property Value
    Type Description
    SaveFormat

    The default value is SaveFormat.Blob

    SaveUrl

    Specifies the URL for the save action that handles uploaded audio files on the server.

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

    The default value is null

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