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

Adds a two-dimensional geometry reference to the page. 

 

The location and size of the geometry is defined by the transformation matrix in the geometry reference object passed to the method (geom parameter).

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