API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnnotation Class > OdAnnotation Methods > OdAnnotation::getSource Method
OdAnnotation::getSource Method
Syntax
C++
void getSource(OdCADModelPtr& cad_model) const;
Parameters 
Description 
OdCADModelPtr& cad_model 
[out] A placeholder for the smart pointer to the model. 

Returns the annotation source. The method fills a passed smart pointer to the model object and returns it to a calling subroutine. 

 

The source contains drawing data that has been exported to the annotation.

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