Class RichTextEditorImageSettings
Inherited Members
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
[HtmlAttributeName("allowedTypes")]
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 | Description |
---|---|
MvcTemplate<System.Object> |
Display
Specifies whether insert image inline or break.
Declaration
[HtmlAttributeName("display")]
public string Display { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "inline" |
Height
Specifies whether image height.
Declaration
[HtmlAttributeName("height")]
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
[HtmlAttributeName("maxHeight")]
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
[HtmlAttributeName("maxWidth")]
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
[HtmlAttributeName("minHeight")]
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
[HtmlAttributeName("minWidth")]
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
[HtmlAttributeName("path")]
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 file information and handle the remove operation in server.
Declaration
[HtmlAttributeName("removeUrl")]
public string RemoveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Resize
To enable resizing for image element.
Declaration
[HtmlAttributeName("resize")]
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
[HtmlAttributeName("resizeByPercent")]
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
[HtmlAttributeName("saveFormat")]
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 upload files and save in the server.
Declaration
[HtmlAttributeName("saveUrl")]
public string SaveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Width
Specifies whether image width.
Declaration
[HtmlAttributeName("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "auto" |