Documents
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Document add ([showingWindow:
bool=true][, documentPreset:
DocumentPreset][, withProperties:
Object])
Creates a new document.
Parameter | Type | Description |
---|---|---|
showingWindow | bool | If true, displays the document. (Optional) (default: true) |
documentPreset | DocumentPreset | The document preset to use. (Optional) |
withProperties | Object | Initial values for properties of the new Document (Optional) |
Document anyItem ()
Returns any Document in the collection.
number count ()
Displays the number of elements in the Document.
Array
of Document everyItem ()
Returns every Document in the collection.
Document firstItem ()
Returns the first Document in the collection.
Document item (index:
any)
Returns the Document with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Document itemByName (name:
string)
Returns the Document with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of Document itemByRange (from:
any, to:
any)
Returns the Documents within the specified range.
Parameter | Type | Description |
---|---|---|
from | Document Long Integer String | The Document, index, or name at the beginning of the range. Can accept: Document, Long Integer or String. |
to | Document Long Integer String | The Document, index, or name at the end of the range. Can accept: Document, Long Integer or String. |
Document lastItem ()
Returns the last Document in the collection.
Document middleItem ()
Returns the middle Document in the collection.
Document nextItem (obj:
Document)
Returns the Document whose index follows the specified Document in the collection.
Parameter | Type | Description |
---|---|---|
obj | Document | The Document whose index comes before the desired Document. |
Document previousItem (obj:
Document)
Returns the Document with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | Document | The index of the Document that follows the desired Document. |
string toSource ()
Generates a string which, if executed, will return the Document.
Element of
Application.documents
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |