API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > add2dGeometry Method > OdPage::add2dGeometry Method (Od2dGeometryReferencePtr&, OdRect&)
OdPage::add2dGeometry Method (Od2dGeometryReferencePtr&, OdRect&)
Syntax
C++
void add2dGeometry(const Od2dGeometryReferencePtr& geom, const OdRect& location);
Parameters 
Description 
const Od2dGeometryReferencePtr& geom 
[in] A smart pointer to the 2D geometry reference to be added.  
const OdRect& location 
[in] A location where to place the geometry. 

Adds a two-dimensional geometry reference to the page. 

 

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