![]() |
wxPdfDocument
1.4.0
Library for generating PDF documents from wxWidgets applications
|
Base class for Optional Content Groups (OCG). (For internal use only). More...
#include <pdflayer.h>
Public Member Functions | |
| wxPdfOcg () | |
| Default constructor. | |
| virtual | ~wxPdfOcg () |
| Destructor. | |
| void | SetIndex (int index) |
| Set OCG index. | |
| int | GetIndex () const |
| Get OCG index. | |
| void | SetObjIndex (int n) |
| Set object index. | |
| int | GetObjIndex () const |
| Get object index. | |
| bool | IsOk () const |
| Check whether OCG is initialized. | |
| wxPdfOcgType | GetType () const |
| Get OCG type. | |
Protected Attributes | |
| wxPdfOcgType | m_type |
| Type of OCG. | |
Base class for Optional Content Groups (OCG). (For internal use only).
Optional Content Groups (OCG) allow controlling the visibility of content in a PDF document, enabling users or applications to toggle the display of specific layers or elements.
| wxPdfOcg::wxPdfOcg | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
inline |
Get OCG index.
|
inline |
Get object index.
|
inline |
Get OCG type.
| bool wxPdfOcg::IsOk | ( | ) | const |
Check whether OCG is initialized.
true if initialized, false otherwise
|
inline |
Set OCG index.
| index | OCG index |
|
inline |
Set object index.
| n | object index |
|
protected |
Type of OCG.