How to get apply-model-using-stencil

Depend on fontoxml-base-flow to make this operation available.

Apply a model to the node identified with contextNodeId

Imported operation data

Name Type Description
contextNodeId NodeId

The node id of the node to which to match the root of the stencil.

childNodeStructure StencilJsonML

Stencil containing one or more gaps representing the locations in which to set the values from the model.

[model] Object

Object containing properties with the same names as the gaps in the stencil, whose values will be set in the matching locations in the document.

Was this page helpful?