setasign\SetaPDF2\Core\Document\OptionalContent\Group
Usage A helper class for an optional content group object to manage the usage dictionary
File: /SetaPDF v2/Core/Document/OptionalContent/Group/Usage.php
Old class name (alias):
\SetaPDF_Core_Document_OptionalContent_Group_Usage
Class hierarchy
Summary
Properties
Methods
getDictionary()
Gets and/or creates the usage dictionary.
Method is normally only used internally.
Parameters
- $create : bool
getExportState()
Get the export state.
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
getPrintState()
Get the print state.
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
getViewState()
Get the view state.
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
setExportState()
public Usage::setExportState (
string|false $state = \setasign\SetaPDF2\Core\Document\Catalog\OptionalContent::STATE_ON
): voidSet the export state.
Parameters
- $state : string|false
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
setPrintState()
public Usage::setPrintState (
string|false $state = \setasign\SetaPDF2\Core\Document\Catalog\OptionalContent::STATE_ON
): voidSet the print state.
Parameters
- $state : string|false
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
setViewState()
public Usage::setViewState (
string|false $state = \setasign\SetaPDF2\Core\Document\Catalog\OptionalContent::STATE_ON
): voidSet the view state.
Parameters
- $state : string|false
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries