MathObjects
A collection of math objects.
Properties
| Name | Type |
Access | Description |
|---|
|
Number |
readonly |
The number of objects in the collection. |
Methods
Returns the MathObject with the specified index.
→ MathObject
Creates a new math object.
mathmlDescription?
String
The MathML description to create the SVG from.
destinationPage?
Page
The page on which to create the object.
destinationLayer?
Layer
The layer on which to create the Object. Uses active document layer by default
placePoint?
Number[] | String[] unit
The point where to place the object (only applicable if page is provided)
withProperties?
Object
Initial values for properties of the new MathObject
Returns any MathObject in the collection.
Displays the number of elements in the MathObject.
Returns every MathObject in the collection.
Returns the first MathObject in the collection.
Returns the MathObject with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the MathObject with the specified ID.
Returns the MathObject with the specified name.
Returns the MathObjects within the specified range.
from
LongInteger | MathObject | String
The MathObject, index, or name at the beginning of the range. Can accept: MathObject, Long Integer or String.
to
LongInteger | MathObject | String
The MathObject, index, or name at the end of the range. Can accept: MathObject, Long Integer or String.
Returns the last MathObject in the collection.
Returns the middle MathObject in the collection.
Returns the MathObject whose index follows the specified MathObject in the collection.
obj
MathObject
The MathObject whose index comes before the desired MathObject.
Returns the MathObject with the index previous to the specified index.
obj
MathObject
The index of the MathObject that follows the desired MathObject.
Generates a string which, if executed, will return the MathObject.
Object of 2
Properties elsewhere that hold a MathObjects.