API Reference > Namespaces > OdPdfPublish Namespace > Classes > Od2dGeometryBlock Class > Od2dGeometryBlock Methods > Od2dGeometryBlock::addText Method
Od2dGeometryBlock::addText Method
Syntax
C++
void addText(const OdTextPtr& text, const OdRect& location);
Parameters 
Description 
const OdTextPtr& text 
[in] An instance of a text label.  
const OdRect& location 
[in] A rectangle that specifies the text label location. 

Adds a new text label to the geometry object.

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