ASPxClientHtmlEditorInsertImageCommandArguments.styleSettings Property
Contains the style settings specifying the appearance of the target image.
Declaration
styleSettings: ASPxClientHtmlEditorCommandStyleSettings
Property Value
Type | Description |
---|---|
ASPxClientHtmlEditorCommandStyleSettings | An ASPxClientHtmlEditorCommandStyleSettings object that contains the style settings specifying the appearance of the target image. |
Remarks
// Inserting a new image at the current cursor position
var args = new ASPxClientHtmlEditorInsertImageCommandArguments(htmlEditor, null);
args.align = "center";
args.alt = "Some alternate text";
args.src = "/Content/SampleImage.png";
args.styleSettings.width = "400px";
args.useFloat = true;
htmlEditor.ExecuteCommand(ASPxClientCommandConsts.INSERTIMAGE_COMMAND, args);
See Also