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

Returns comptaible objectID or null in case if there is no any compatible objects found.

Returns compatible visual style or background object for specified viewport.

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