Class
Watermark preference Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
WatermarkPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | ApplicationDocument | readonly | The parent of the WatermarkPreference (a Document or Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
watermarkDoPrint | bool | r/w | Watermark do print for a document |
watermarkDrawInBack | bool | r/w | Watermark draw in back for a document |
watermarkFontColor | 3 Reals (0 - 255) UIColors |
r/w | Watermark font color for a document. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator. |
watermarkFontFamily | string | r/w | Watermark font family display name |
watermarkFontPointSize | number | r/w | Watermark font point size for a document |
watermarkFontStyle | string | r/w | Watermark font style name |
watermarkHorizontalOffset | Measurement Unit (Number or String) | r/w | Watermark horizontal offset for a document |
watermarkHorizontalPosition | WatermarkHorizontalPositionEnum: WatermarkHorizontalPositionEnum.WATERMARK_H_LEFT WatermarkHorizontalPositionEnum.WATERMARK_H_CENTER WatermarkHorizontalPositionEnum.WATERMARK_H_RIGHT |
r/w | Watermark horizontal position enum for a document |
watermarkOpacity | number | r/w | Watermark opacity (as a percentage). (Range: 0 to 100) |
watermarkRotation | number | r/w | Watermark rotation for a document |
watermarkText | string | r/w | Watermark text for a document |
watermarkVerticalOffset | Measurement Unit (Number or String) | r/w | Watermark vertical offset for a document |
watermarkVerticalPosition | WatermarkVerticalPositionEnum: WatermarkVerticalPositionEnum.WATERMARK_V_TOP WatermarkVerticalPositionEnum.WATERMARK_V_CENTER WatermarkVerticalPositionEnum.WATERMARK_V_BOTTOM |
r/w | Watermark vertical position enum for a document |
watermarkVisibility | bool | r/w | Watermark visibility for a document |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of WatermarkPreference getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the WatermarkPreference.
Element of
Application.watermarkPreferences
Document.watermarkPreferences
Return
Array of WatermarkPreference WatermarkPreference.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |