comet.element¶
The element module provides factory functions for creating CElement
objects.
Methods¶
- comet.element.create(recordID: None | CIDType | tuple[int, int, int, str] = None, templateID: int = 0, formatString: str = '') CElement ¶
Create a new
CElement
object which is used in determining which elements to build for repeating element placeholders.The element can be immediately initialized.
- Parameters:
- Returns:
The newly created element
- Return type:
- Raises:
TypeError – When parameter types are invalid
CometError – On internal error
- Available:
InDesign® comet_pdf®
- CScript:
- Examples:
Create an element.