Class PasteTextCmd
Paste text commands.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class PasteTextCmd : SetTextCmd, ICommand
Constructors
PasteTextCmd(TextEditor, Node, Int32, String, String)
Initializes a new instance of the PasteTextCmd class.
Declaration
public PasteTextCmd(TextEditor textEditor, Node nodeEditing, int nInsertionLocation, string strDeletedText, string strTextToInsert)
Parameters
Type | Name | Description |
---|---|---|
TextEditor | textEditor | The text editor. |
Node | nodeEditing | The node editing. |
System.Int32 | nInsertionLocation | The n insertion location. |
System.String | strDeletedText | The deleted text. |
System.String | strTextToInsert | The text to insert. |
Methods
CanMerge(ICommand)
Determines whether this instance can merge the specified command to previous recorded command.
Declaration
public override bool CanMerge(ICommand cmd)
Parameters
Type | Name | Description |
---|---|---|
ICommand | cmd | The command to merge. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
Merge(ICommand)
Merges the specified merging command.
Declaration
public override void Merge(ICommand cmdMerging)
Parameters
Type | Name | Description |
---|---|---|
ICommand | cmdMerging | The merging command. |