Skip to main content
A newer version of this page is available. .

ChangeFloatingObjectOutlineWidthCommand Class

Specifies the width of the outline of the selected floating object.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

public class ChangeFloatingObjectOutlineWidthCommand :
    ChangeFloatingObjectPropertyCommandBase<int>

Remarks

Use the following code to draw a solid black outline with width equal to 90 twips around the selected floating object:


ChangeFloatingObjectOutlineWidthCommand cmd = new ChangeFloatingObjectOutlineWidthCommand(richEditControl1);
DevExpress.Utils.Commands.ICommandUIState state = cmd.CreateDefaultCommandUIState();
cmd.UpdateUIState(state);            
state.EditValue = 90;
cmd.ForceExecute(state);

Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
RichEditCommand
DevExpress.XtraRichEdit.Commands.SelectionBasedCommandBase
SelectionBasedPropertyChangeCommandBase
DevExpress.XtraRichEdit.Commands.FloatingObjectCommandBase
DevExpress.XtraRichEdit.Commands.ChangeFloatingObjectPropertyCommandBase<Int32>
ChangeFloatingObjectOutlineWidthCommand
See Also