The requested page is not available for the requested platform. You are viewing the content for Default platform.

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