API Reference > Namespaces > OdPdfPublish Namespace > Classes > Od2dGeometryReference Class
Od2dGeometryReference Class
OdPdfPublish__Od2dGeometryReferenceOdPdfPublish__Od2dGeometryReferenceOdPdfPublish__Od2dGeometryReference
Syntax
C++
class Od2dGeometryReference : public OdObject;

PdfPublish2dGeometryReference.h

This class implements a reference to the two-dimensional geometry in .pdf documents created with Publish SDK. The geometry options for this reference can be set by setting the transformation matrix, scale, rotation and translation. These options are applied to the rendering of the geometry referenced by the Od2dGeometryReference object.

For example, assume that a document has an Od2dGeometryBlock object with size 10x10 units. If you create a reference to it represented with an Od2dGeometryReference object and apply the scale 2.0 to it, Publish will render a block with size 20x20 units.

 
Name 
Description 
 
Destroys the reference to a geometry object. 
 
Name 
Description 
 
Returns the current value of the border flag for the geometry reference object. The method fills a passed value and returns it to a calling subroutine.  
 
Returns the current border color for the geometry reference object. The method fills a passed value and returns it to a calling subroutine.  
 
Returns the currently referenced geometry block. The method fills a passed smart pointer object and returns it to a calling subroutine.  
 
Returns the current rotation angle for the geometry block reference. The method fills a passed value and returns it to a calling subroutine.  
 
Returns the current scaling value for the geometry block reference. The method fills a passed value and returns it to a calling subroutine.  
 
Returns the current transformation matrix for the geometry reference object. The method fills a passed matrix object and returns it to a calling subroutine.  
 
Returns the current translation vector for the geometry block reference. The method fills a passed value and returns it to a calling subroutine.  
 
Sets a new value of the border flag for the geometry object reference.  
 
Sets a new color for the geometry reference object.  
 
Sets a new geometry block to be referenced.  
 
Sets a new rotation angle (in radians) for the geometry reference object.  
 
Sets a scale value for the geometry reference object.  
 
Sets a new transfomation matrix for the geometry reference object.  
 
Sets a new translation vector for the geometry reference object.  
Copyright © 2002–2020. Open Design Alliance. All rights reserved.