Back to API Reference
Class

ClipboardPasteContent

sealed

Visible paste text and its resolved destination formatting.

public string Text{ get }

The exact visible text to insert.

public ReadOnlyMemory<ClipboardSpan> Spans{ get }

Destination formatting in UTF-16 coordinates relative to Text.

[ctor]public ClipboardPasteContent()

Creates attributed paste content. Every span must fit inside text and start and end on Unicode scalar boundaries.