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
drawingstringThe DXF of the objects copied; null for text alone.
textstringThe plain text; null for none.
sourcestringWhat tells the drawing copied from from any other, the same for every copy of one drawing open; null for text of another app.
sourceNamestringThe name of the drawing copied from, as plan-level2.dxf; null for none.
spaceNamestringThe space copied from, Model or a layout's name; null for none.
countintHow many objects were copied.
picturebyte[]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.