public class PDOptionalContentGroup extends PDPropertyList
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.
|
void |
setName(String name)
Sets the name of the optional content group.
|
String |
toString() |
create, getCOSObject
public PDOptionalContentGroup(String name)
name
- the name of the content grouppublic PDOptionalContentGroup(COSDictionary dict)
COSDictionary
.dict
- the dictionaryCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.