Class

WatermarkPreference

 Watermark preference Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application | Document
Preference
WatermarkPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication
Document
readonlyThe parent of the WatermarkPreference (a Document or Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
watermarkDoPrintbool r/wWatermark do print for a document
watermarkDrawInBackbool r/wWatermark draw in back for a document
watermarkFontColor3 Reals (0 - 255)
UIColors
r/wWatermark font color for a document. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator.
watermarkFontFamilystring r/wWatermark font family display name
watermarkFontPointSizenumber r/wWatermark font point size for a document
watermarkFontStylestring r/wWatermark font style name
watermarkHorizontalOffsetMeasurement Unit (Number or String) r/wWatermark horizontal offset for a document
watermarkHorizontalPositionWatermarkHorizontalPositionEnum:
WatermarkHorizontalPositionEnum.WATERMARK_H_LEFT
WatermarkHorizontalPositionEnum.WATERMARK_H_CENTER
WatermarkHorizontalPositionEnum.WATERMARK_H_RIGHT
r/wWatermark horizontal position enum for a document
watermarkOpacitynumber r/wWatermark opacity (as a percentage). (Range: 0 to 100)
watermarkRotationnumber r/wWatermark rotation for a document
watermarkTextstring r/wWatermark text for a document
watermarkVerticalOffsetMeasurement Unit (Number or String) r/wWatermark vertical offset for a document
watermarkVerticalPositionWatermarkVerticalPositionEnum:
WatermarkVerticalPositionEnum.WATERMARK_V_TOP
WatermarkVerticalPositionEnum.WATERMARK_V_CENTER
WatermarkVerticalPositionEnum.WATERMARK_V_BOTTOM
r/wWatermark vertical position enum for a document
watermarkVisibilitybool r/wWatermark visibility for a document

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis 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.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the WatermarkPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.watermarkPreferences

Document.watermarkPreferences

Return

Array of WatermarkPreference WatermarkPreference.getElements ()

Jongware, 28-Apr-2012 v3.0.3iContents :: Index