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

Sets the text field name. 

 

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

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