PDF attributes.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Boolean, EventListeners, Events, ImportedPage, Number, Object, PDF, PDFCrop,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
pageNumber |
readonly |
The page number of the PDF document page to place. |
|
|
parent |
readonly |
The parent of the PDFAttribute (a PDF or ImportedPage). |
|
|
pdfCrop |
PDFCrop.CROP_ART PDFCrop.CROP_PDF PDFCrop.CROP_TRIM PDFCrop.CROP_BLEED PDFCrop.CROP_MEDIA PDFCrop.CROP_CONTENT_VISIBLE_LAYERS PDFCrop.CROP_CONTENT_ALL_LAYERS |
readonly |
The type of cropping to apply. |
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
transparentBackground |
readonly |
If true, the background of the PDF is transparent. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
PDFAttribute getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the PDFAttribute.
String toSpecifier ()
Retrieves the object specifier.
PDF.pdfAttributes
ImportedPage.pdfAttributes
Event.parent
EventListener.parent
MutationEvent.parent