PageItems
The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
PageItem [] (index:Number)
Returns the PageItem with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
PageItem anyItem ()
Returns any PageItem in the collection.
Number count ()
Displays the number of elements in the PageItem.
PageItem everyItem ()
Returns every PageItem in the collection.
PageItem firstItem ()
Returns the first PageItem in the collection.
PageItem item (index:Varies LongInteger String)
Returns the PageItem with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
PageItem itemByID (id:Number)
Returns the PageItem with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
PageItem itemByName (name:String)
Returns the PageItem with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
PageItem itemByRange (from:Varies LongInteger PageItem String, to:Varies LongInteger PageItem String)
Returns the PageItems within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The PageItem, index, or name at the beginning of the range. Can accept: PageItem, Long Integer or String. |
to |
LongInteger |
The PageItem, index, or name at the end of the range. Can accept: PageItem, Long Integer or String. |
PageItem lastItem ()
Returns the last PageItem in the collection.
PageItem middleItem ()
Returns the middle PageItem in the collection.
PageItem nextItem (obj:PageItem)
Returns the PageItem whose index follows the specified PageItem in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The PageItem whose index comes before the desired PageItem. |
PageItem previousItem (obj:PageItem)
Returns the PageItem with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the PageItem that follows the desired PageItem. |
String toSource ()
Generates a string which, if executed, will return the PageItem.
Object of
PlaceGun.pageItems
Document.pageItems
FormField.pageItems
Button.pageItems
State.pageItems
MultiStateObject.pageItems
CheckBox.pageItems
ComboBox.pageItems
ListBox.pageItems
RadioButton.pageItems
TextBox.pageItems
SignatureField.pageItems
Movie.pageItems
Sound.pageItems
Layer.pageItems
Spread.pageItems
Page.pageItems
MasterSpread.pageItems
PageItem.pageItems
Oval.pageItems
Rectangle.pageItems
GraphicLine.pageItems
Polygon.pageItems
Group.pageItems
Image.pageItems
EPS.pageItems
PDF.pageItems
WMF.pageItems
PICT.pageItems
Graphic.pageItems
SplineItem.pageItems
EPSText.pageItems
ImportedPage.pageItems
SVG.pageItems
MediaItem.pageItems
Snippet.pageItems
HtmlItem.pageItems
Cell.pageItems
Table.pageItems
Text.pageItems
Character.pageItems
Word.pageItems
Line.pageItems
TextColumn.pageItems
Paragraph.pageItems
TextStyleRange.pageItems
InsertionPoint.pageItems
TextFrame.pageItems
Story.pageItems
EndnoteTextFrame.pageItems
Footnote.pageItems
XMLElement.pageItems
XmlStory.pageItems
Cell.contents
Column.contents
Row.contents