Class RichTextEditorImageSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorImageSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorImageSettingsBuilder : ControlBuilder
Constructors
RichTextEditorImageSettingsBuilder()
Declaration
public RichTextEditorImageSettingsBuilder()
RichTextEditorImageSettingsBuilder(RichTextEditorImageSettings)
Declaration
public RichTextEditorImageSettingsBuilder(RichTextEditorImageSettings model)
Parameters
Methods
AllowedTypes(String[])
Specifies the allowed file types for selection.
Declaration
public RichTextEditorImageSettingsBuilder AllowedTypes(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns
Display(String)
Specifies whether the image is inserted inline or with a break.
Declaration
public RichTextEditorImageSettingsBuilder Display(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Height(String)
Specifies the height of the image.
Declaration
public RichTextEditorImageSettingsBuilder Height(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
MaxFileSize(Double)
Specifies the maximum file size for image uploads in bytes.
Declaration
public RichTextEditorImageSettingsBuilder MaxFileSize(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MaxHeight(Double)
Defines the maximum height of the image.
Declaration
public RichTextEditorImageSettingsBuilder MaxHeight(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MaxHeight(String)
Defines the maximum height of the image.
Declaration
public RichTextEditorImageSettingsBuilder MaxHeight(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
MaxWidth(Double)
Defines the maximum width of the image.
Declaration
public RichTextEditorImageSettingsBuilder MaxWidth(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MaxWidth(String)
Defines the maximum width of the image.
Declaration
public RichTextEditorImageSettingsBuilder MaxWidth(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
MinHeight(Double)
Defines the minimum height of the image.
Declaration
public RichTextEditorImageSettingsBuilder MinHeight(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MinHeight(String)
Defines the minimum height of the image.
Declaration
public RichTextEditorImageSettingsBuilder MinHeight(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
MinWidth(Double)
Defines the minimum width of the image.
Declaration
public RichTextEditorImageSettingsBuilder MinWidth(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MinWidth(String)
Defines the minimum width of the image.
Declaration
public RichTextEditorImageSettingsBuilder MinWidth(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Path(String)
Specifies the path for storing and displaying images.
Declaration
public RichTextEditorImageSettingsBuilder Path(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
RemoveUrl(String)
Specifies the URL for the remove action that handles image removal on the server.
Declaration
public RichTextEditorImageSettingsBuilder RemoveUrl(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Resize(Boolean)
Enables resizing for the image element.
Declaration
public RichTextEditorImageSettingsBuilder Resize(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
ResizeByPercent(Boolean)
Enables image resizing by percentage calculation.
Declaration
public RichTextEditorImageSettingsBuilder ResizeByPercent(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
SaveFormat(SaveFormat)
Specifies whether the inserted image is saved as a blob or base64.
Declaration
public RichTextEditorImageSettingsBuilder SaveFormat(SaveFormat value)
Parameters
Returns
SaveUrl(String)
Specifies the URL for the save action that handles uploaded images on the server.
Declaration
public RichTextEditorImageSettingsBuilder SaveUrl(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Width(String)
Specifies the width of the image.
Declaration
public RichTextEditorImageSettingsBuilder Width(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns