Class RichTextEditorImageSettings
Inheritance
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorImageSettings : EJTagHelper
Constructors
RichTextEditorImageSettings()
Declaration
public RichTextEditorImageSettings()
Properties
AllowedTypes
Specifies whether to allowType based file select.
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 insert image inline or break.
Declaration
public string Display { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "inline" |
Height
Specifies whether image height.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "auto" |
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 of the location to store the images and refer it to display the images.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
RemoveUrl
Specifies the URL of remove action that receives the image information and handles the remove operation on the server.
Declaration
public string RemoveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Resize
To enable resizing for image element.
Declaration
public bool Resize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
ResizeByPercent
image resizing should be done 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 blob or base64.
Declaration
public SaveFormat SaveFormat { get; set; }
Property Value
Type | Description |
---|---|
SaveFormat | The default value is SaveFormat.Blob |
SaveUrl
Specifies the URL of save action that will receive the uploaded image and save it on the server.
Declaration
public string SaveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Width
Specifies whether image width.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "auto" |