iText 8.0.2 API
|
This class represents /OCProperties entry if pdf catalog and manages the layers of the pdf document. More...
Public Member Functions |
|
PdfOCProperties (PdfDocument document) | |
Creates a new PdfOCProperties instance. More... |
|
PdfOCProperties (PdfDictionary ocPropertiesDict) | |
Creates a new PdfOCProperties instance by the dictionary it represents, the dictionary must be an indirect object. More... |
|
virtual void | AddOCGRadioGroup (IList< PdfLayer > group) |
Use this method to set a collection of optional content groups whose states are intended to follow a "radio button" paradigm. More... |
|
virtual PdfObject | FillDictionary () |
Fills the underlying PdfDictionary object with the current layers and their settings. More... |
|
virtual PdfObject | FillDictionary (bool removeNonDocumentOcgs) |
Fills the underlying PdfDictionary object with the current layers and their settings. More... |
|
override void | Flush () |
virtual IList< PdfLayer > | GetLayers () |
Gets the list of all the layers currently registered in the OCProperties. More... |
|
![]() |
|
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual bool | IsFlushed () |
This class represents /OCProperties entry if pdf catalog and manages the layers of the pdf document.
This class represents /OCProperties entry if pdf catalog and manages the layers of the pdf document.
To be able to be wrapped with this iText.Kernel.Pdf.PdfObjectWrapper
|
inline |
Creates a new PdfOCProperties instance.
document | the document the optional content belongs to |
|
inline |
Creates a new PdfOCProperties instance by the dictionary it represents, the dictionary must be an indirect object.
ocPropertiesDict | the dictionary of optional content properties, must have an indirect reference. |
|
inlinevirtual |
Use this method to set a collection of optional content groups whose states are intended to follow a "radio button" paradigm.
Use this method to set a collection of optional content groups whose states are intended to follow a "radio button" paradigm. That is, the state of at most one optional content group in the array should be ON at a time: if one group is turned ON, all others must be turned OFF.
group | the radio group |
|
inlinevirtual |
Fills the underlying PdfDictionary object with the current layers and their settings.
Fills the underlying PdfDictionary object with the current layers and their settings. Note that it completely regenerates the dictionary, so your direct changes to the dictionary will not take any affect.
|
inlinevirtual |
Fills the underlying PdfDictionary object with the current layers and their settings.
Fills the underlying PdfDictionary object with the current layers and their settings. Note that it completely regenerates the dictionary, so your direct changes to the dictionary will not take any affect.
removeNonDocumentOcgs | the flag indicating whether it is necessary to delete OCGs not from the current document |
|
inlinevirtual |
Gets the list of all the layers currently registered in the OCProperties.
Gets the list of all the layers currently registered in the OCProperties. Note that this is just a new list and modifications to it will not affect anything.