API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::compatibleCopyObject Method
OdDbAbstractViewportData::compatibleCopyObject Method
Syntax
C++
virtual OdDbStub* compatibleCopyObject(const OdRxObject* pViewport, OdDbStub* pCopyObject) const;
Parameters 
Description 
const OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
OdDbStub* pCopyObject 
[in] Input object ID.  

Returns compatible objectID or null if no compatible objects are found.

Returns compatible visual style or background object for the specified viewport.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.