#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 Od2dGeometryBlock as well as to Od2dGeometryReference, OdImage and OdText objects which can be added to the document page.
Definition at line 48 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 |
Gets the current value of the locked flag of the layer.
- Parameters
-
state | [out] A placeholder for the locked flag value. |
◆ getName()
void OdPdfPublish::Od2dGeometryLayer::getName |
( |
OdString & |
name | ) |
const |
Gets the layer name.
- Parameters
-
name | [out] A placeholder for the layer name. |
◆ getVisible()
void OdPdfPublish::Od2dGeometryLayer::getVisible |
( |
bool & |
state | ) |
const |
Gets the current value of the visibility flag of the layer.
- 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 of the layer.
- Parameters
-
state | [out] A locked flag value. Specify true to not allow the visibility of the layer to be changed when viewing the document. Otherwise false. |
◆ setName()
void OdPdfPublish::Od2dGeometryLayer::setName |
( |
const OdString & |
name | ) |
|
Sets the layer name.
- Parameters
-
◆ setVisible()
void OdPdfPublish::Od2dGeometryLayer::setVisible |
( |
const bool |
state | ) |
|
Sets the visibility flag of the layer.
- Parameters
-
state | [in] A visibility flag value. Specify true to allow objects belonging to the layer to be visible when the document is opened. Otherwise false. |
The documentation for this class was generated from the following file: