officefileapi-devexpress-dot-xtrarichedit-dot-commands-e4c4caaa.md
Specifies the width of the outline of the selected floating object.
Namespace : DevExpress.XtraRichEdit.Commands
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public class ChangeFloatingObjectOutlineWidthCommand :
ChangeFloatingObjectPropertyCommandBase<int>
Public Class ChangeFloatingObjectOutlineWidthCommand
Inherits ChangeFloatingObjectPropertyCommandBase(Of Integer)
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);
Dim cmd As New ChangeFloatingObjectOutlineWidthCommand(richEditControl1)
Dim state As DevExpress.Utils.Commands.ICommandUIState = cmd.CreateDefaultCommandUIState()
cmd.UpdateUIState(state)
state.EditValue = 90
cmd.ForceExecute(state)
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