API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnnotation Class > OdAnnotation Methods > OdAnnotation::setName Method
OdAnnotation::setName Method
Syntax
C++
void setName(const OdString& name);
Parameters 
Description 
const OdString& name 
[in] A name value. 

Sets the annotation name. 

 

The name is mandatory and must be unique among the document object names.

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