ASPxClientHtmlEditorInsertImageCommandArguments.styleSettings Property
In This Article
Contains the style settings specifying the appearance of the target image.
#Declaration
TypeScript
styleSettings: ASPxClientHtmlEditorCommandStyleSettings
#Property Value
Type | Description |
---|---|
ASPx |
An ASPx |
#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