API Reference > Classes > Database Classes > OdBmAbstractViewportData Class > OdBmAbstractViewportData Methods > OdBmAbstractViewportData::compatibleCopyObject Method
OdBmAbstractViewportData::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 (c) 2002-2021. Open Design Alliance. All rights reserved.