GraphicLines
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
GraphicLine add ([layer:
Layer][, at:
LocationOptions=LocationOptions.UNKNOWN][, reference:
any][, withProperties:
Object])
Create a new GraphicLine
Parameter | Type | Description |
---|---|---|
layer | Layer | The layer on which to create the GraphicLine. (Optional) |
at | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | Location (Optional) (default: LocationOptions.UNKNOWN) |
reference | Document Layer MasterSpread Page Spread | Before/after this GraphicLine or at the beginning/end of this Document, Spread, Master Spread, Page or Layer. Can accept: Document, Spread, MasterSpread, Page or Layer. (Optional) |
withProperties | Object | Initial values for properties of the new GraphicLine (Optional) |
GraphicLine anyItem ()
Returns any GraphicLine in the collection.
number count ()
Displays the number of elements in the GraphicLine.
Array
of GraphicLine everyItem ()
Returns every GraphicLine in the collection.
GraphicLine firstItem ()
Returns the first GraphicLine in the collection.
GraphicLine item (index:
any)
Returns the GraphicLine with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long String | The index or name. Can accept: Long or String. |
GraphicLine itemByID (id:
number)
Returns the GraphicLine with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
GraphicLine itemByName (name:
string)
Returns the GraphicLine with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of GraphicLine itemByRange (from:
any, to:
any)
Returns the GraphicLines within the specified range.
Parameter | Type | Description |
---|---|---|
from | GraphicLine Long String | The GraphicLine, index, or name at the beginning of the range. Can accept: GraphicLine, Long or String. |
to | GraphicLine Long String | The GraphicLine, index, or name at the end of the range. Can accept: GraphicLine, Long or String. |
GraphicLine lastItem ()
Returns the last GraphicLine in the collection.
GraphicLine middleItem ()
Returns the middle GraphicLine in the collection.
GraphicLine nextItem (obj:
GraphicLine)
Returns the GraphicLine whose index follows the specified GraphicLine in the collection.
Parameter | Type | Description |
---|---|---|
obj | GraphicLine | The GraphicLine whose index comes before the desired GraphicLine. |
GraphicLine previousItem (obj:
GraphicLine)
Returns the GraphicLine with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | GraphicLine | The index of the GraphicLine that follows the desired GraphicLine. |
string toSource ()
Generates a string which, if executed, will return the GraphicLine.
Element of
Button.graphicLines
Cell.graphicLines
Character.graphicLines
Document.graphicLines
Footnote.graphicLines
GraphicLine.graphicLines
Group.graphicLines
InsertionPoint.graphicLines
Layer.graphicLines
Line.graphicLines
MasterSpread.graphicLines
Oval.graphicLines
Page.graphicLines
PageItem.graphicLines
Paragraph.graphicLines
Polygon.graphicLines
Rectangle.graphicLines
Spread.graphicLines
State.graphicLines
Story.graphicLines
Table.graphicLines
Text.graphicLines
TextColumn.graphicLines
TextFrame.graphicLines
TextStyleRange.graphicLines
Word.graphicLines
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |