Class RichTextEditorImageSettings
Inheritance
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorImageSettings : EJTagHelper
  Constructors
RichTextEditorImageSettings()
Declaration
public RichTextEditorImageSettings()
  Properties
AllowedTypes
Specifies the allowed file types for 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> | 
Display
Specifies whether the image is inserted inline or with a break.
Declaration
public string Display { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is "inline"  | 
      
Height
Specifies the height of the image.
Declaration
public string Height { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is "auto"  | 
      
MaxFileSize
Specifies the maximum file size for image uploads in bytes.
Declaration
public double MaxFileSize { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | The default value is 30000000  | 
      
MaxHeight
Defines the maximum height of the image.
Declaration
public string MaxHeight { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is null  | 
      
MaxWidth
Defines the maximum width of the image.
Declaration
public string MaxWidth { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is null  | 
      
MinHeight
Defines the minimum height of the image.
Declaration
public string MinHeight { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is "0"  | 
      
MinWidth
Defines the minimum width of the image.
Declaration
public string MinWidth { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is "0"  | 
      
Path
Specifies the path for storing and displaying images.
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 image removal on the server.
Declaration
public string RemoveUrl { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is null  | 
      
Resize
Enables resizing for the image element.
Declaration
public bool Resize { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | The default value is true  | 
      
ResizeByPercent
Enables image resizing by percentage calculation.
Declaration
public bool ResizeByPercent { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | The default value is false  | 
      
SaveFormat
Specifies whether the inserted image 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 images on the server.
Declaration
public string SaveUrl { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is null  | 
      
Width
Specifies the width of the image.
Declaration
public string Width { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is "auto"  |