cloneBlock

cloneBlock

ADVANCED / PREMIUM BASIC

Clones a block in the document.

Description
public void cloneBlock(String blockName)
public void cloneBlock(String blockName, Integer occurrence)
Parameters

blockName

The block var.

occurrence

Position of the block to be cloned. 1 as default.

Code samples

Example #1