API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > OdPage::addAnnotation Method
OdPage::addAnnotation Method
Syntax
C++
void addAnnotation(const OdAnnotationPtr& annotation, const OdRect& location);
Parameters 
Description 
const OdAnnotationPtr& annotation 
[in] A smart pointer to an annotation object that should be added.  
const OdRect& location 
[in] A rectangle that specifies the location of an added annotation within the page. It determines where the annotation will be placed on the page. 

Adds a new annotation to the page. 

 

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