Skip to main content

ASPxClientHtmlEditorInsertImageCommandArguments.useFloat Property

Determines if the target image is wrapped with text.

Declaration

useFloat: boolean

Property Value

Type Description
boolean

true, if the target image is wrapped with text; otherwise, false.

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