Back to Devexpress

ChangeFloatingObjectOutlineWidthCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-e4c4caaa.md

latest2.9 KB
Original Source

ChangeFloatingObjectOutlineWidthCommand Class

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

Declaration

csharp
public class ChangeFloatingObjectOutlineWidthCommand :
    ChangeFloatingObjectPropertyCommandBase<int>
vb
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:

csharp
ChangeFloatingObjectOutlineWidthCommand cmd = new ChangeFloatingObjectOutlineWidthCommand(richEditControl1);
DevExpress.Utils.Commands.ICommandUIState state = cmd.CreateDefaultCommandUIState();
cmd.UpdateUIState(state);            
state.EditValue = 90;
cmd.ForceExecute(state);
vb
Dim cmd As New ChangeFloatingObjectOutlineWidthCommand(richEditControl1)
Dim state As DevExpress.Utils.Commands.ICommandUIState = 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

ChangeFloatingObjectOutlineWidthCommand Members

DevExpress.XtraRichEdit.Commands Namespace