Table of Contents

Method Paste

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

Paste(string, RdlElement, ItemBounds?)

Pastes a fragment into a container: offset 0.2 in from the originals, or at a point when the pointer is over the surface; renamed to keep names unique; re-namespaced to this report; selected. Fields the report lacks are kept for validation to flag, never dropped.

public IReadOnlyList<RdlElement> Paste(string fragment, RdlElement container, ItemBounds? at)

Parameters

fragment string

The fragment text.

container RdlElement

The band element or rectangle to paste into.

at ItemBounds?

The pointer position relative to the container, or null to offset from the originals.

Returns

IReadOnlyList<RdlElement>

The pasted items; empty when the text was not a fragment.