Table of Contents

Constructor CadClipboardData

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadClipboardData(string, string, string, string, string, int, byte[])

Makes what a clipboard holds.

public CadClipboardData(string drawing, string text, string source = null, string sourceName = null, string spaceName = null, int count = 0, byte[] picture = null)

Parameters

drawing string

The DXF of the objects copied; null for text alone.

text string

The plain text; null for none.

source string

What tells the drawing copied from from any other, the same for every copy of one drawing open; null for text of another app.

sourceName string

The name of the drawing copied from, as plan-level2.dxf; null for none.

spaceName string

The space copied from, Model or a layout's name; null for none.

count int

How many objects were copied.

picture byte[]

The bytes of a bitmap file or a PNG another app copied; null for none.

Exceptions

ArgumentException

Thrown when there is no drawing, no text and no picture.