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

Adds a text label to the page. 

 

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