Class ImageToolbarCommand
Defines types to be used to configure the toolbar items in the Image Quick Toolbar.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ImageToolbarCommand : Enum
Remarks
Provides actions related to image manipulation within the editor's context menu.
Fields
Align
Defines the ImageToolbarCommand as Align.
Declaration
public const ImageToolbarCommand Align
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command for aligning images within the content. |
Remarks
Adjusts image position relative to surrounding text or elements.
AltText
Defines the ImageToolbarCommand as AltText.
Declaration
public const ImageToolbarCommand AltText
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to set alternative text for accessibility. |
Remarks
Provides descriptive text for images, necessary for accessibility compliance.
Caption
Defines the ImageToolbarCommand as Caption.
Declaration
public const ImageToolbarCommand Caption
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to add or edit image captions. |
Remarks
Allows for descriptive text to be added below images for context.
Dimension
Defines the ImageToolbarCommand as Dimension.
Declaration
public const ImageToolbarCommand Dimension
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to set or adjust the image's dimensions. |
Remarks
Allows the resizing of images by specifying width and height.
Display
Defines the ImageToolbarCommand as Display.
Declaration
public const ImageToolbarCommand Display
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to toggle between different image display options. |
Remarks
Adjusts how images are shown within the content flow.
EditImageLink
Defines the ImageToolbarCommand as EditImageLink.
Declaration
public const ImageToolbarCommand EditImageLink
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to modify the URL of an image link. |
Remarks
Provides an interface for editing the hyperlink associated with an image.
HorizontalSeparator
Defines the ImageToolbarCommand as HorizontalSeparator.
Declaration
public const ImageToolbarCommand HorizontalSeparator
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Visual separator for grouping image toolbar options. |
Remarks
Distinguishes between different sets of image tools.
InsertLink
Defines the ImageToolbarCommand as InsertLink.
Declaration
public const ImageToolbarCommand InsertLink
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to link an image to a URL. |
Remarks
Allows images to become clickable, directing to a specified URL.
OpenImageLink
Defines the ImageToolbarCommand as OpenImageLink.
Declaration
public const ImageToolbarCommand OpenImageLink
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to follow a link attached to an image. |
Remarks
Opens the image's hyperlink in a new tab or window.
Remove
Defines the ImageToolbarCommand as Remove.
Declaration
public const ImageToolbarCommand Remove
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to remove images from the content. |
Remarks
Deletes the currently selected image from the editor's content.
RemoveImageLink
Defines the ImageToolbarCommand as RemoveImageLink.
Declaration
public const ImageToolbarCommand RemoveImageLink
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to strip the hyperlink from an image. |
Remarks
Disables the clickable link, converting the image to a static one.
Replace
Defines the ImageToolbarCommand as Replace.
Declaration
public const ImageToolbarCommand Replace
Field Value
Type | Description |
---|---|
ImageToolbarCommand | Command to replace an existing image with another. |
Remarks
Opens a dialog to select a new image to replace the current one.