public class PDOptionalContentGroup extends PDPropertyList
| Modifier and Type | Class and Description |
|---|---|
static class |
PDOptionalContentGroup.RenderState
Enumeration for the renderState dictionary entry on the "Export", "View"
and "Print" dictionary.
|
dict| Constructor and Description |
|---|
PDOptionalContentGroup(COSDictionary dict)
Creates a new instance based on a given
COSDictionary. |
PDOptionalContentGroup(String name)
Creates a new optional content group (OCG).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the optional content group.
|
PDOptionalContentGroup.RenderState |
getRenderState(RenderDestination destination) |
void |
setName(String name)
Sets the name of the optional content group.
|
String |
toString() |
create, getCOSObjectpublic PDOptionalContentGroup(String name)
name - the name of the content grouppublic PDOptionalContentGroup(COSDictionary dict)
COSDictionary.dict - the dictionarypublic String getName()
public final void setName(String name)
name - the namepublic PDOptionalContentGroup.RenderState getRenderState(RenderDestination destination)
destination - to be renderedCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.