menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RTFStrikeoutCmd - API Reference

    Show / Hide Table of Contents

    Class RTFStrikeoutCmd

    Command used to strikeout the text.

    Inheritance
    System.Object
    RTFFormatCmd
    RTFStrikeoutCmd
    Implements
    ICommand
    Inherited Members
    RTFFormatCmd.m_nodeEditing
    RTFFormatCmd.m_nSelectionStart
    RTFFormatCmd.m_nSelectionLength
    RTFFormatCmd.m_strDescription
    RTFFormatCmd.m_txtEditor
    RTFFormatCmd.m_fNewFormatValue
    RTFFormatCmd.m_fOldFormatValue
    RTFFormatCmd.Undo()
    RTFFormatCmd.Do(Object)
    RTFFormatCmd.NodeEditing
    RTFFormatCmd.NewFormatValue
    RTFFormatCmd.OldFormatValue
    RTFFormatCmd.Description
    RTFFormatCmd.CanUndo
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public class RTFStrikeoutCmd : RTFFormatCmd, ICommand

    Constructors

    RTFStrikeoutCmd(TextEditor, RichTextNode, Int32, Int32, Boolean)

    Initializes a new instance of the RTFStrikeoutCmd class.

    Declaration
    public RTFStrikeoutCmd(TextEditor textEditor, RichTextNode nodeFormatting, int nSelectionStart, int nSelectionLength, bool bStrikeout)
    Parameters
    Type Name Description
    TextEditor textEditor

    current text editor

    RichTextNode nodeFormatting

    RichText node

    System.Int32 nSelectionStart

    selection start position

    System.Int32 nSelectionLength

    selection length

    System.Boolean bStrikeout

    Strikeout value

    Methods

    CanMerge(ICommand)

    Checks whether text can be merged.

    Declaration
    public override bool CanMerge(ICommand cmd)
    Parameters
    Type Name Description
    ICommand cmd

    Merging command

    Returns
    Type Description
    System.Boolean

    true - can be merged; false - not

    Overrides
    RTFFormatCmd.CanMerge(ICommand)

    FormatText()

    Execute format text.

    Declaration
    protected override void FormatText()
    Overrides
    RTFFormatCmd.FormatText()

    Merge(ICommand)

    Merge text with command.

    Declaration
    public override void Merge(ICommand cmd)
    Parameters
    Type Name Description
    ICommand cmd

    Merging command

    Overrides
    RTFFormatCmd.Merge(ICommand)

    UndoFormatText()

    Undo format text.

    Declaration
    protected override void UndoFormatText()
    Overrides
    RTFFormatCmd.UndoFormatText()

    Implements

    ICommand
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved