API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnnotation Class > OdAnnotation Methods > OdAnnotation::setSource Method
OdAnnotation::setSource Method
Syntax
C++
void setSource(const OdCADModelPtr& cad_model);
Parameters 
Description 
const OdCADModelPtr& cad_model 
[in] A smart pointer to an OdCADModel object to be set as the annotation source. 

Sets the annotation source. The source contains drawing data that should be exported to the annotation. 

 

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