HeaderPane
Main
Hide
Share Link
Print

Paste Method, SftMask Class

Replaces the selection with the text on the clipboard, or with a given text as if it were pasted.

Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public void Paste();
public void Paste( string text );
Public Sub Paste()
Public Sub Paste( ByVal text As String )

Parameters

text

The text.

Comments

Replaces the selection with the text on the clipboard, or with a given text as if it were pasted.

The SftMask.PrePaste event can change or cancel the text. The SftMask.ClipboardFormat property defines how the text is entered, and the SftMask.RejectInputOnFirstFailure property whether a text with a character that does not fit is rejected as a whole. A read-only control beeps and is not changed.

See Also SftMask Class | Classes | SftMask/NET 3.0