Skip to main content

ASPxClientHtmlEditorChangeMediaElementCommandArguments.styleSettings Property

Contains the style settings defining the appearance of the target media element.

Declaration

styleSettings: ASPxClientHtmlEditorCommandStyleSettings

Property Value

Type Description
ASPxClientHtmlEditorCommandStyleSettings

An ASPxClientHtmlEditorCommandStyleSettings object that contains the style settings defining the appearance of the target media element.

Remarks

// Changing the selected flash element's dimensions and alignment
var flash = htmlEditor.GetSelection().GetSelectedElement();
var args = htmlEditor.CreateChangeMediaElementCommandArguments(flash);
args.align = "center";
args.styleSettings.width = "400px";
args.styleSettings.height = "100px";
htmlEditor.ExecuteCommand(args.GetCommandName(), args);
See Also