Class PDFNet.ObjSet
PDFNet.ObjSet
Constructor Attributes | Constructor Name and Description |
---|---|
PDFNet.ObjSet(id)
ObjSet is a lightweight container that can hold a collection of SDF objects.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
PDFNet.ObjSet.create()
Constructor
|
Create a new array object in this object set.
|
|
createBool(value)
Create a new boolean object in this object set.
|
|
Create a new dictionary object in this object set.
|
|
createName(name)
Create a new name object in this object set.
|
|
Create a new null object in this object set.
|
|
createNumber(value)
Create a new number object in this object set.
|
|
createString(value)
Create a new string object in this object set.
|
|
destroy()
Frees the native memory of the object.
|
Class Detail
PDFNet.ObjSet(id)
ObjSet is a lightweight container that can hold a collection of SDF objects.
- Parameters:
- id
Method Detail
<static>
{ObjSet}
PDFNet.ObjSet.create()
Constructor
- Returns:
- {ObjSet} A promise that resolves to an object of type: "ObjSet" (generated documentation)
{Obj}
createArray()
Create a new array object in this object set.
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
{Obj}
createBool(value)
Create a new boolean object in this object set.
- Parameters:
- {boolean} value
- The boolean value of the object to create
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
{Obj}
createDict()
Create a new dictionary object in this object set.
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
{Obj}
createName(name)
Create a new name object in this object set.
- Parameters:
- {string} name
- The name of the object to create
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
{Obj}
createNull()
Create a new null object in this object set.
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
{Obj}
createNumber(value)
Create a new number object in this object set.
- Parameters:
- {number} value
- numeric value of the number object to create.
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
{Obj}
createString(value)
Create a new string object in this object set.
The unsigned string value of the string object to create.
- Parameters:
- {string} value
- (generated documentation)
- Returns:
- {Obj} A promise that resolves to an object of type: "Obj" (generated documentation)
destroy()
Frees the native memory of the object.