Comprehensive Guide for Developers: Features, Integration, and API Reference
Optional content configuration. More...
#include <pdfsdk/cxx/optional_content.h>
Public Member Functions | |
| void | SetOCGroupState (const OCGroup &ocg, bool state, bool preserveRB=true) |
| bool | GetOCGroupState (const OCGroup &ocg) const |
| OCConfig (PDOCConfig handle, bool adopt=false) noexcept | |
| OCConfig (const OCConfig &rhs) noexcept | |
| OCConfig & | operator= (const OCConfig &rhs) noexcept |
| OCConfig (OCConfig &&rhs) noexcept | |
| OCConfig & | operator= (OCConfig &&rhs) noexcept |
Optional content configuration.
ISO 32000-2:2020 - 8.11.4.3 Optional content configuration dictionaries
| bool PDF::OCConfig::GetOCGroupState | ( | const OCGroup & | ocg | ) | const |
Get the state of the specified OCGroup in this OCConfig.
| ocg | The OCGroup to get the state for. |
| void PDF::OCConfig::SetOCGroupState | ( | const OCGroup & | ocg, |
| bool | state, | ||
| bool | preserveRB = true ) |
Set the state of the specified OCGroup in this OCConfig.
| ocg | The OCGroup to set the state for. |
| state | The state to set (true for visible, false for hidden). |
| preserveRB | Whether to preserve the RB (Optional Content Configuration Dictionary) state. |