API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > addCADReference Method > OdPage::addCADReference Method (OdCADReferencePtr&, OdRect&)
OdPage::addCADReference Method (OdCADReferencePtr&, OdRect&)
Syntax
C++
void addCADReference(const OdCADReferencePtr& CADreferense, const OdRect& location);
Parameters 
Description 
const OdCADReferencePtr& CADreferense 
[in] A smart pointer to a CAD reference object.  
const OdRect& location 
[in] A rectangle that specifies the page area where the CAD reference should be added. 

Adds a CAD reference object to the page. 

 

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