ASPxClientHtmlEditorCommandStyleSettings.borderWidth Property
Gets or sets a media element’s border width.
Declaration
borderWidth: string
Property Value
Type | Description |
---|---|
string | A string that specifies a border width in any correct format. |
Remarks
// Changing the selected image border settings
var image = htmlEditor.GetSelection().GetSelectedElement();
var args = new ASPxClientHtmlEditorChangeImageCommandArguments(htmlEditor, image);
args.styleSettings.borderColor = "red";
args.styleSettings.borderStyle = "solid";
args.styleSettings.dorderWidth = "8px";
htmlEditor.ExecuteCommand(ASPxClientCommandConsts.CHANGEIMAGE_COMMAND, args);
See Also