#include <PdfPublish2dGeometryLayer.h>
This class implements the layer object for the two-dimensional geometry in .pdf documents created with Publish SDK. PDF layers can be used when adding objects to an <link OdPdfPublish::Od2dGeometryBlock, Od2dGeometryBlock> object as well as to <link OdPdfPublish::Od2dGeometryReference, Od2dGeometryReference>, <link OdPdfPublish::OdImage, OdImage>, and <link OdPdfPublish::OdText, OdText> objects, which can be added to the document page.
Definition at line 49 of file PdfPublish2dGeometryLayer.h.
◆ Od2dGeometryLayer()
| OdPdfPublish::Od2dGeometryLayer::Od2dGeometryLayer |
( |
| ) |
|
|
protected |
◆ ~Od2dGeometryLayer()
| virtual OdPdfPublish::Od2dGeometryLayer::~Od2dGeometryLayer |
( |
| ) |
|
|
virtual |
Destroys the layer object.
◆ getLocked()
| void OdPdfPublish::Od2dGeometryLayer::getLocked |
( |
bool & | state | ) |
const |
Returns the current value of the locked flag of the layer. The method fills a passed Boolean value and returns it to a calling subroutine.
- Parameters
-
| state | [out] A placeholder for the locked flag value. |
◆ getName()
| void OdPdfPublish::Od2dGeometryLayer::getName |
( |
OdString & | name | ) |
const |
Returns the layer name. The method fills a passed string object and returns it to a calling subroutine.
- Parameters
-
| name | [out] A placeholder for the layer name. |
◆ getVisible()
| void OdPdfPublish::Od2dGeometryLayer::getVisible |
( |
bool & | state | ) |
const |
Returns the current value of the visibility flag of the layer. The method fills a passed Boolean value and returns it to a calling subroutine.
- Parameters
-
| state | [out] A placeholder for the visibility flag value. |
◆ ODRX_DECLARE_MEMBERS()
◆ ODRX_HEAP_OPERATORS()
| OdPdfPublish::Od2dGeometryLayer::ODRX_HEAP_OPERATORS |
( |
| ) |
|
◆ setLocked()
| void OdPdfPublish::Od2dGeometryLayer::setLocked |
( |
const bool | state | ) |
|
Sets the locked flag value for the layer object. This flag determines whether visibility of the layer can be changed when the document is viewed. If the visibility can be changed, the flag equals true; otherwise, it equals false.
- Parameters
-
| state | [out] Locked flag value to be set. |
◆ setName()
| void OdPdfPublish::Od2dGeometryLayer::setName |
( |
const OdString & | name | ) |
|
Sets the layer name.
- Parameters
-
| name | [in] A string that contains the name to be set. |
◆ setVisible()
| void OdPdfPublish::Od2dGeometryLayer::setVisible |
( |
const bool | state | ) |
|
Sets the visibility flag value for the layer object. This flag determines whether objects that belong to the layer are visible (equals true) or invisible (equals false) when the document is opened.
- Parameters
-
| state | [in] Visibility flag value to be set. |
The documentation for this class was generated from the following file: