Condividi tramite


Ink.ClipboardPaste Method

Ink.ClipboardPaste Method

Pastes an IDataObject Leave Site, either specified or from the Clipboard Leave Site, to this Ink object.

Overload List

public Strokes ClipboardPaste()
public Strokes ClipboardPaste(Point)
public Strokes ClipboardPaste(Point, Object)

Remarks

An exception is thrown if an unexpected error occurs while accessing the Clipboard Leave Site. If no error occurs but the Clipboard Leave Site does not contain a format that can be pasted into an Ink object—either ink serialized format (ISF) or tInk—then this method returns null (Nothing in Microsoft® Visual Basic® .NET) and no exception is thrown.

Important Security InformationSecurity Alert: If using under partial trust, this method requires UIPermissionClipboard.AllClipboard Leave Site permission. See Security And Trust for more information.

Examples

See Also