Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 852 Bytes

itextrange_canpaste_746058742.md

File metadata and controls

30 lines (20 loc) · 852 Bytes
-api-id -api-type
M:Windows.UI.Text.ITextRange.CanPaste(System.Int32)
winrt method

Windows.UI.Text.ITextRange.CanPaste

-description

Determines whether the Clipboard contains content that can be pasted, using a specified format, into the current text range.

-parameters

-param format

The clipboard format. 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.

-returns

True if the Clipboard content can be pasted into the text range in the specified format, and otherwise false.

-remarks

Note

On Windows Phone, CanPaste always returns false. Programmatic access to the clipboard is not supported on Windows Phone.

-examples

-see-also