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

Adds a text field to the page. 

 

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