ObjCopy

ObjCopy creates new objects from existing objects.

hvNew = ObjCopy(hvHandle)

Return Value

hvNew is the handle of the object or vector of handles. If an object could not be created the element in the vector is 0.

Parameters

hvHandle

hvHandle is a vector of handles of the following type:

Value Meaning
OBJ_LAYER see LayerCreate. Drawing objects and dataset objects are not copied.
OBJ_XYDATASET see XYCreate and TYCreate.
OBJ_XYZDATASET see XYZCreate and XYZCreateFromMatrix.
OBJ_TABLE see TableCreate.
OBJ_TEXT see TBCreate.
OBJ_RECT see RBCreate.
OBJ_ELLIPSE see EBCreate.
OBJ_LINE see LBCreate.
OBJ_OLEITEM see ImageCreate. The object is only copied if it is a picture (wmf, jpg,…). If the object is an OLE object (e.g. an Excel Sheet) use OLESaveToFile and LayerCreateMetaFromFile.
OBJ_LINK see CBCreate.
OBJ_PEN see PenCreate.
OBJ_MARKER see MarkerCreate.
OBJ_FONT see FontCreate.
OBJ_HATCH siehe HatchCreate.

The following object types will be ignored:

Value Meaning
OBJ_APPLICATION -
OBJ_DOCUMENT see DocCreate.
OBJ_PAGE see PageCreate.
OBJ_FILE see fopen.
OBJ_CONTAINER see CnCreate.
OBJ_MAP see MapCreate.

History

Version Description
4.2.7 New

id-554715