Share

AcTcUiCopyItems

C++

ACTCUI_PORT BOOL AcTcUiCopyItems(
    COleDataSource* pDataSource, 
    const AcTcCatalogItemArray* pItems, 
    BOOL bAutoCADSource
);

File

AcTcUI.h

Description

Copies the items in the array to the data source object in the format CF_ACTC_CATALOG_ITEM. It copies the item, all its children recursively, the images used by the items, and the stock tools referred by the tools if the items are tools. Use AcTcUiPasteItems() to load the items from a data object.

Returns true if the items were copied successfully; otherwise, returns false.

Parameters

Parameters Description
pDataSource Input data source object to which the items are to be copied
pItems Input array of items to copy to the data source
bAutoCADSource Input Boolean indicating whether the host application is AutoCAD

Was this information helpful?