-
add( |
blockType [, appliedCharacterStyle] [, customText] [, withProperties]) |
→ BuildingBlock |
-
Creates a new cross reference building block.
blockType
|
BuildingBlockTypes
Type of the building block.
|
appliedCharacterStyle
|
CharacterStyle
Character style to be applied to the building block. (Optional)
|
customText
|
string
Building block custom text. Currently this is only useful in custom string building block. It is ignored for other types of building blocks. (Optional)
|
withProperties
|
Object
Initial values for properties of the new BuildingBlock (Optional)
|
-
-
Returns any BuildingBlock in the collection.
-
-
Displays the number of elements in the BuildingBlock.
-
-
Returns every BuildingBlock in the collection.
-
-
Returns the first BuildingBlock in the collection.
-
-
Returns the BuildingBlock with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the BuildingBlocks within the specified range.
from
|
The BuildingBlock, index, or name at the beginning of the range. Can accept: BuildingBlock, Long Integer or String.
|
to
|
The BuildingBlock, index, or name at the end of the range. Can accept: BuildingBlock, Long Integer or String.
|
-
-
Returns the last BuildingBlock in the collection.
-
-
Returns the middle BuildingBlock in the collection.
-
-
Returns the BuildingBlock whose index follows the specified BuildingBlock in the collection.
obj
|
BuildingBlock
The BuildingBlock whose index comes before the desired BuildingBlock.
|
-
-
Returns the BuildingBlock with the index previous to the specified index.
obj
|
BuildingBlock
The index of the BuildingBlock that follows the desired BuildingBlock.
|
-
-
Generates a string which, if executed, will return the BuildingBlock.