API Reference > Namespaces > OdPdfPublish Namespace > Classes > Od2dGeometryLayer Class > Od2dGeometryLayer Methods > Od2dGeometryLayer::setLocked Method
Od2dGeometryLayer::setLocked Method
Syntax
C++
void setLocked(const bool state);
Parameters 
Description 
const bool 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. 

Sets the locked flag of the layer. 

 

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