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_LAYERsee LayerCreate. Drawing objects and dataset objects are not copied.
OBJ_XYDATASETOBJ_XYZDATASETsee XYZCreate and XYZCreateFromMatrix.
OBJ_TABLEsee TableCreate.
OBJ_TEXTsee TBCreate.
OBJ_RECTsee RBCreate.
OBJ_ELLIPSEsee EBCreate.
OBJ_LINEsee LBCreate.
OBJ_OLEITEMsee 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_LINKsee CBCreate.
OBJ_PENsee PenCreate.
OBJ_MARKERsee MarkerCreate.
OBJ_FONTsee FontCreate.
OBJ_HATCHsiehe HatchCreate.
The following object types will be ignored:
Value
Meaning
OBJ_APPLICATION-OBJ_DOCUMENTsee DocCreate.
OBJ_PAGEsee PageCreate.
OBJ_FILEsee fopen.
OBJ_CONTAINERsee CnCreate.
OBJ_MAPsee MapCreate.
History
Version |
Description |
|---|---|
4.2.7 |
New |
See also
Overview Objects, ObjCreate, LayerAddDataset, LayerAddObjects
id-554715