.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ChangeFloatingObjectOutlineWidthCommand Class

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

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

public class ChangeFloatingObjectOutlineWidthCommand :
    ChangeFloatingObjectPropertyCommandBase<int>
Public Class ChangeFloatingObjectOutlineWidthCommand
    Inherits ChangeFloatingObjectPropertyCommandBase(Of Integer)

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>
See Also