RichEditTextRange.Paste(Int32) Method

Definition

Pastes text from the Clipboard into the text range.

public:
 virtual void Paste(int format) = Paste;
void Paste(int const& format);
public void Paste(int format);
function paste(format)
Public Sub Paste (format As Integer)

Parameters

format
Int32

int

The clipboard format to use in the paste operation. Zero represents the best format, which usually is Rich Text Format (RTF), but CF_UNICODETEXT and other formats are also possible. The default value is zero.

Implements

M:Microsoft.UI.Text.ITextRange.Paste(System.Int32) M:Microsoft.UI.Text.ITextRange.Paste(int)

Applies to