Sets the locked state of an OCG in a given configuration. The on/off state of a
locked OCG cannot be toggled by the user through the user interface.
Namespace:
pdftron.PDF.OCG
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetLocked(
Config config,
bool locked
)
Public Sub SetLocked (
config As Config,
locked As Boolean
)
public:
virtual void SetLocked(
[InAttribute] Config^ config,
[InAttribute] bool locked
) sealed
function SetLocked(config, locked);
Parameters
- config
- Type: pdftron.PDF.OCGConfig
IN/OUT The optional-content configuration.
- locked
- Type: SystemBoolean
true if the OCG should be locked, false otherwise.
See Also