Class PDFNet.ClassMap
PDFNet.ClassMap
Constructor Attributes | Constructor Name and Description |
---|---|
PDFNet.ClassMap(id)
|
Method Attributes | Method Name and Description |
---|---|
copy()
Copy Constructor
|
|
<static> |
PDFNet.ClassMap.create(dict)
Initialize a ClassMap using an existing low-level Cos/SDF ClassMap object.
|
Returns the ClassMap dictionary.
|
|
isValid()
|
Method Detail
{ClassMap}
copy()
Copy Constructor
- Returns:
- {ClassMap} A promise that resolves to an object of type: "ClassMap" (generated documentation)
<static>
{ClassMap}
PDFNet.ClassMap.create(dict)
Initialize a ClassMap using an existing low-level Cos/SDF ClassMap object.
- Parameters:
- {Obj} dict
- a low-level (SDF/Cos) ClassMap dictionary.
- Returns:
- {ClassMap} A promise that resolves to an object of type: "ClassMap" (generated documentation)
{Obj}
getSDFObj()
Returns the ClassMap dictionary.
- Returns:
- {Obj} A promise that resolves to the object to the underlying SDF/Cos object.
{boolean}
isValid()
- Returns:
- {boolean} A promise that resolves to true if this is a valid (non-null) ClassMap, false otherwise. If the function returns false the underlying SDF/Cos object is null or is not valid and the ClassMap object should be treated as a null object.