Back to Devexpress

DecrementFontSizeCommand Class

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

latest2.8 KB
Original Source

DecrementFontSizeCommand Class

Decreases the font size of the selection by one point.

Namespace : DevExpress.XtraRichEdit.Commands

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public class DecrementFontSizeCommand :
    ChangeCharacterFormattingCommandBase<int>
vb
Public Class DecrementFontSizeCommand
    Inherits ChangeCharacterFormattingCommandBase(Of Integer)

Remarks

Unlike the DecrementFontSizeCommand command, the RichEditCommandId.DecreaseFontSize decreases the font size of the selection to the closest smaller predefined value.

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.ChangeCharacterFormattingCommandBase<Int32> DecrementFontSizeCommand

See Also

DecrementFontSizeCommand Members

Keyboard Shortcuts in Rich Text Editor

DecreaseFontSize

ChangeFontSizeCommand

IncreaseFontSize

IncrementFontSizeCommand

FontSize

DevExpress.XtraRichEdit.Commands Namespace